The ___________ header is used to specify the format of the response accepted by the client.

  • Accept-Encoding
  • Content-Type
  • User-Agent
  • Authorization
The correct option is Content-Type. The Content-Type header in HTTP requests and responses specifies the media type of the data being sent or received. For example, it can indicate whether the data is in JSON, XML, HTML, or another format. This header helps the client and server understand how to handle the data appropriately.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *