REST.Client.TRESTRequest.ResourceSuffix
Delphi
property ResourceSuffix: string read FResourceSuffix write SetResourceSuffix default 0;
C++
__property ResourceSuffix = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTRequest |
Description
Optional path to append to the Resource string when determining the complete URL for the HTTP request.
REST.Client.TRESTRequest.ResourceSuffix inherits from REST.Client.TCustomRESTRequest.ResourceSuffix. All content below this line refers to REST.Client.TCustomRESTRequest.ResourceSuffix.
Optional path to append to the Resource string when determining the complete URL for the HTTP request.
For example, if BaseURL is "http://example.com/api", Resource is "myresource" and ResourceSuffix is "items/123", the complete URL for the request is "http://example.com/api/myresource/items/123".
If you are accessing an EMS resource, the ResourceSuffix property must contain the resource suffix of the target resource.