Skip to content
Sharp

Networking · interview question

Why does the Content-Type header in an HTTP request matter in this design?

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

Correct answer

B. Specifies the media type of the resource being sent.

Why

The Content-Type header in an HTTP request specifies the media type of the resource being sent to the server, ensuring that the server knows how to interpret the data.

Test yourself on Networking

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

Start free test
All Networking questions →