MCQs > IT & Programming > RESTful Services > Given a REST API that is capable of responding only with JSON, what is the appropriate way to respond to a request with header `Accept: application/xml; charset=utf-8`?

RESTful Services MCQs

Given a REST API that is capable of responding only with JSON, what is the appropriate way to respond to a request with header `Accept: application/xml; charset=utf-8`?

Answer

Correct Answer: Respond with `406 Not Acceptable` error or respond successfully with JSON

Explanation:

Note: This Question is unanswered, help us to find answer for this one

RESTful Services Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

RESTful Services Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it