REST.Backend.EndPoint.TBackendEndpoint.ResourceSuffix

From RAD Studio API Documentation

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. {{#multireplace:REST.Backend.EndPoint.TBackendEndpoint.ResourceSuffix|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:REST.Client.TCustomRESTRequest.ResourceSuffix|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:REST.Client.TCustomRESTRequest.ResourceSuffix|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.