Click or drag to resize
RESTServiceHelper Class
Provides utility methods for REST.
Inheritance Hierarchy
SystemObject
  CMS.BaseCoreMethods
    CMS.BaseAbstractHelper
      CMS.BaseAbstractHelperRESTServiceHelper
        CMS.WebServicesRESTServiceHelper

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 13.0.131
Syntax
C#
public class RESTServiceHelper : AbstractHelper<RESTServiceHelper>

The RESTServiceHelper type exposes the following members.

Constructors
  NameDescription
Public methodRESTServiceHelper
Top
Methods
  NameDescription
Public methodStatic memberGetUrlPathAndQueryHash
Returns hash string to be used for given URL path and query instead of authentication.
Protected methodGetUrlPathAndQueryHashInternal
Returns hash string to be used for given URL path and query instead of authentication.
Public methodStatic memberIsUrlPathAndQueryHashValid
Tests whether hash computed for pathAndQuery matches expectedHash.
Protected methodIsUrlPathAndQueryHashValidInternal
Tests whether hash computed for pathAndQuery matches expectedHash. Validates hash expiration query parameter hashExpirationUtc if provided.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Public methodStatic memberCode exampleTryParseRestUrlPath
Tries to parse an absolute URL of a REST service endpoint and splits the absolute path to absolute path prefix and relative REST path.
Protected methodCode exampleTryParseRestUrlPathInternal
Tries to parse an absolute URL of a REST service endpoint and splits the absolute path to absolute path prefix and relative REST path.
Top
See Also