nerdexam
CiscoCisco

200-301 · Question #394

200-301 Question #394: Real Exam Question with Answer & Explanation

The correct answer is D: Accept: application/json. Accept header is a way for a client to specify the media type of the response content it is expecting and Content-type is a way to specify the media type of request being sent from the client to the server.

Submitted by fatema_kw· Mar 5, 2026

Question

With REST API, which standard HTTP header tells a server which media type is expected by the client?

Options

  • AAccept-Encoding: gzip. deflate
  • BAccept-Patch: text/example; charset=utf-8
  • CContent-Type: application/json; charset=utf-8
  • DAccept: application/json

Explanation

Accept header is a way for a client to specify the media type of the response content it is expecting and Content-type is a way to specify the media type of request being sent from the client to the server.

Topics

#REST API#HTTP headers#Accept header#Media types

Community Discussion

No community discussion yet for this question.

Full 200-301 PracticeBrowse All 200-301 Questions