Skip to content
Sharp

Networking · interview question

Why does the Content-Type header in HTTP requests matter in practice?

Multiple choiceEasychapter-11-curatedpremiumnetworkingjson-serialization
Choose one answer
Answer and explanation

Correct answer

D. To specify the format of the data being sent.

Why

The Content-Type header is used to specify the media type of the resource or the data being sent. This informs the server how to interpret the payload, ensuring correct processing of formats such as application/json or text/html.

Test yourself on Networking

A free test with instant, explained results. No account needed.

Start free test
All Networking questions →