次の方法で共有


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" です。

適用対象