T1-R4 in five minutes
HTTP is a request and a response.
JSON is the text shape most model APIs use for messages.
A status code is part of the result, not a decoration.
RFC 9110 defines HTTP semantics. RFC 8259 defines JSON.
Confirm the vendor's current path before you copy a sample.
A client that ignores status 401 will treat an auth failure as an empty answer. Read the status, then the body.
Sources and go deeper
- RFC 9110, HTTP Semantics spec last checked 2026-10
- RFC 8259, The JSON Data Interchange Format spec last checked 2026-10
- HTTP — Wikipedia wikipedia last checked 2026-10
- JSON — Wikipedia wikipedia last checked 2026-10