http
POST /api/users HTTP/1.1
Host: api.example.com
Content-Type: application/xml
<user><name>Alice</name></user>
HTTP/1.1 415 Unsupported Media Type
Content-Type: application/json
{
"error": "unsupported_media_type",
"message": "Server does not support application/xml",
"received_type": "application/xml",
"supported_types": ["application/json", "application/x-www-form-urlencoded"]
}