Content-Type

The header that says what format a body is in.

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

Level: Apprentice · More Web Development terms at this level

Updated