Cisco
200-301 · Question #1761
Which header must be included in a REST request from an application that requires JSON- formatted content?
The correct answer is C. Accept: application/json. The Accept: application/json header tells the server that the client expects the response body to be in JSON format.
Submitted by suresh_in· Mar 5, 2026Automation and Programmability
Question
Which header must be included in a REST request from an application that requires JSON- formatted content?
Options
- AAccept-Language: application/json
- BContent-Type: application/json
- CAccept: application/json
- DAccept-Encoding: application/json
How the community answered
(56 responses)- A2% (1)
- B9% (5)
- C86% (48)
- D4% (2)
Explanation
The Accept: application/json header tells the server that the client expects the response body to be in JSON format.
Topics
#REST API#HTTP headers#JSON
Community Discussion
No community discussion yet for this question.