HttpRequest.ContentType プロパティ

定義

http操作の本文のコンテンツ型を取得したり設定したりします。

public AdaptiveExpressions.Properties.StringExpression ContentType { get; set; }
member this.ContentType : AdaptiveExpressions.Properties.StringExpression with get, set
Public Property ContentType As StringExpression

プロパティ値

「application/json」や「text/plain」のようなコンテンツタイプです。 デフォルトは「application/json」です。

適用対象