HTTP 407 — Proxy Authentication Required
The client must first authenticate itself with the proxy
When to use it
Use status 407 when this is the correct HTTP response semantic: The client must first authenticate itself with the proxy
Request and response example
GET /protected-resource HTTP/1.1
Host: api.example.com
HTTP/1.1 407 Proxy Authentication Required
Content-Type: application/json
{"error":"Request cannot be completed"}