My RESTful API doesn't work If I set "Accept: text/plain" in request header and It returns an Error page with title "unsupported media type". But It works nice If "Accept: application/json" or "Accept: application/xml" is set in request header.
Somebody knows what changes I must do so My API works on accepting request with "Accept: text/plain" in header ?
Thanks in advance