T1-R4 in five minutes

Open app View repo

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

sources.json