content-type tagged requests and articles

Categorized request examples and articles tagged with [content-type] keyword
MIME Type Example
An example of passing a MIME type of a resource. The MIME type indicates the format of the data in the body of the request or response. The 'Content-Type: application/json' request header tells the server that the request contains a JSON string. The 'Accept: application/json' request header indicates that the client expects JSON media type.

Content-Type Header
The Content-Type HTTP header is used to indicate the type of media in the body of the message.