Datasnap.DSHTTP.TDSHTTPServerTransport.RESTContext
Delphi
property RESTContext: string read GetRESTContext write SetRESTContext stored IsRESTContextStored;
C++
__property RESTContext;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSHTTPServerTransport |
Description
Specifies the REST URL context.
The RESTContext property specifies the REST URL context, like in http://my.site.com/datasnap/rest/getplatformname. In the given example, rest denotes that the request is a REST request and that it is processed by a REST service. However, the string datasnap/rest that prefixes the server method (getplatformname, in this example) can be omitted.