Skip to content

Request

A message sent by a client to a server: method, endpoint address, headers, and body.

Request Composition

POST /api/v1/chat HTTP/1.1
Host: api.example.com
Authorization: Bearer <token>

{"message": "Hello"}

In AI

Each model invocation is a request: the body contains the prompt and parameters, and the response contains the generated text.

See Also

← All Terms