Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

http code 406

406 Not Acceptable

This error means that the given http request "Accept" header doesn't match service capabilities
For example the client accept JSON type and the server is only able to serve XML type.

One way to fix that issue is to improve client accept: ex. client query must include in headers : "Accept: */*"
or else improve service production or negotiation.
 
PREVIOUS NEXT
Tagged: #http #code
ADD COMMENT
Topic
Name
9+2 =