Content-Type
noun
say it: “KON-tent type” /ˈkɒntɛnt taɪp/
The header that says what format a request's or response's body is in, such as application/json.
What is Content-Type?
Content-Type is the header that says what format a body is in, most often application/json. Send it with every request that has a body.
Content-Type: application/json
In a sentence
- “The API returned 415 because I forgot the Content-Type header.”
Level: Apprentice · More REST API terms at this level
Updated