REST.Backend.EndPoint.TBackendEndpoint.ResourceSuffix
Delphi
property ResourceSuffix: string read FResourceSuffix write SetResourceSuffix default 0;
C++
__property ResourceSuffix = {default=0};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | published | REST.Backend.EndPoint.pas REST.Backend.EndPoint.hpp |
REST.Backend.EndPoint | TBackendEndpoint |
説明
HTTP 要求の完全 URL を決定するときに Resource 文字列の末尾に追加するオプションのパスです。
REST.Backend.EndPoint.TBackendEndpoint.ResourceSuffix は REST.Client.TCustomRESTRequest.ResourceSuffix を継承しています。以下の内容はすべて REST.Client.TCustomRESTRequest.ResourceSuffix を参照しています。
HTTP 要求の完全 URL を決定するときに Resource 文字列の末尾に追加するオプションのパスです。
たとえば、BaseURL が "http://example.com/api"、Resource が "myresource"、ResourceSuffix が "items/123" の場合、要求の完全 URL は "http://example.com/api/myresource/items/123" になります。
EMS リソースにアクセスしている場合、ResourceSuffix プロパティには対象リソースのリソース サフィックスが含まれているはずです。