Rest API - Request and Response Format
Which of the following is the correct way to indicate JSON data in the request body header?
Content-Type: application/json tells the server the body contains JSON formatted data.text/plain is plain text, multipart/form-data is for file uploads, and application/xml is for XML data.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions