API Testing · Junior · Question 18 of 75
What does 415 Unsupported Media Type usually indicate?
- 1The URL contains characters that aren't allowed
- 2The server can't send images in the response
- 3The body format, e.g. its
Content-Type, isn't accepted
Show the answer
Correct answer: The body format, e.g. its Content-Type, isn't accepted
Explanation
Sending JSON with Content-Type: text/plain, or XML to a JSON-only API, can produce 415.