REST.Client.TRESTRequest.Accept

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

Delphi

property Accept: string read FAccept write SetAccept stored AcceptIsStored default 0;

C++

__property Accept = {default=0};

プロパティ

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

説明

要求の Accept フィールドです。応答に使用できる内容の種類を指定します。

REST.Client.TRESTRequest.Accept は REST.Client.TCustomRESTRequest.Accept を継承しています。以下の内容はすべて REST.Client.TCustomRESTRequest.Accept を参照しています。

要求の Accept フィールドです。応答に使用できる内容の種類を指定します。

デフォルト値は "application/json,text/plain;q=0.9,text/html;q=0.8" で、次の形式のうち、使用可能な最初のものが応答の形式になることを求めています。

  • JSON
  • プレーン テキスト
  • HTML

Accept フィールドに使用する必要がある構文の詳細については、仕様を参照してください。

関連項目