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


Cisco 200-301 Exam

Questions Number: 440 out of 1114 Questions
39.50%

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






FilipBaricevic1996 - 1 year, 300 days ago

D is the right answer, please update


Content-Type: application/json
(Content-Type: Determines what kind of representation is desired on the server-side).

Accept: application/json
(Accept: Determines what kind of representation is desired on the client-side).

https://restfulapi.net/content-negotiation/#:~:text=desired%20on%20the-,client%2Dside,-%2C%20an%20HTTP%20header

Previous Questions Next Questions