REST.Client.TCustomRESTRequest.ResourceSuffix

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property ResourceSuffix: string read FResourceSuffix write SetResourceSuffix;

C++

__property System::UnicodeString ResourceSuffix = {read=FResourceSuffix, write=SetResourceSuffix};

プロパティ

種類 可視性 ソース ユニット
property public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTRequest


説明

HTTP 要求の完全 URL を決定するときに Resource 文字列の末尾に追加するオプションのパスです。

たとえば、BaseURL が "http://example.com/api"、Resource が "myresource"、ResourceSuffix が "items/123" の場合、要求の完全 URL は "http://example.com/api/myresource/items/123" になります。

EMS リソースにアクセスしている場合、ResourceSuffix プロパティには対象リソースのリソース サフィックスが含まれているはずです。