HTTP 406 Not Acceptable

The server cannot produce a representation matching your Accept header.

Why you would test it

Worth provoking if your client sends a narrow Accept header, because the failure looks like a server fault and is actually a negotiation failure.

Endpoints that return 406

2 endpoints in this playground answer with 406. Every one is free, needs no signup, and can be called from the browser or with curl.

Other client error codes

All HTTP status codes · All 37 mock REST APIs · Getting started guide