Click or drag to resize
BaseRESTServiceRewriteRESTUrl Method
Handles the rewriting for REST service.

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 11.0.0
Syntax
C#
public static string[] RewriteRESTUrl(
	string relativePath,
	string queryString,
	string domain,
	string httpMethod
)

Parameters

relativePath
Type: SystemString
Relative URL
queryString
Type: SystemString
Query string
domain
Type: SystemString
Domain of the request
httpMethod
Type: SystemString
HTTP method of the request

Return Value

Type: String
Two dimensional array, first parameter is rewritten URL, the second is querystring
See Also