Share via


HttpRequest.ContentType Property

Definition

Gets or sets the content type for the body of the http operation.

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

Property Value

Content type such as "application/json" or "text/plain". Default is "application/json".

Applies to