REST.Backend.EndPoint.TBackendEndpoint.ResourceSuffix

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ResourceSuffix: string read FResourceSuffix write SetResourceSuffix default 0;

C++

__property ResourceSuffix = {default=0};

Properties

Type Visibility Source Unit Parent
property published
REST.Backend.EndPoint.pas
REST.Backend.EndPoint.hpp
REST.Backend.EndPoint TBackendEndpoint

Description

Optional path to append to the Resource string when determining the complete URL for the HTTP request.

REST.Backend.EndPoint.TBackendEndpoint.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.