RESTServiceHelperGetUrlPathAndQueryHash Method |
Returns hash string to be used for given URL path and query instead of authentication.
Namespace: CMS.WebServicesAssembly: CMS.WebServices (in CMS.WebServices.dll) Version: 13.0.131
Syntax public static string GetUrlPathAndQueryHash(
string pathAndQuery
)
Parameters
- pathAndQuery
- Type: SystemString
URL absolute path and query for which to get the hash (resolved virtual path and query string originating from RewriteRESTUrl(String, String, String, String)).
Return Value
Type:
StringExceptions Exception | Condition |
---|
ArgumentNullException | Thrown when pathAndQuery is null. |
Remarks
The produced hash is invariant of the pathAndQuery trailing slash and optional query string parameters
offset and maxrecords.
See Also