http
GET /api/data HTTP/1.1
Host: api.example.com
HTTP/1.1 502 Bad Gateway
Content-Type: application/json
{
"error": "bad_gateway",
"message": "Unable to reach backend service",
"upstream": "backend-service.internal:8080",
"error_detail": "Connection refused"
}