Reserve seats in the demo (nothing is stored)

Answers in the language of Accept-Language (the page's language when the app calls it). A name must not be blank once trimmed and the seats are a whole number from 1 to 20.

POST
/api/reservations

Answers in the language of Accept-Language (the page's language when the app calls it). A name must not be blank once trimmed and the seats are a whole number from 1 to 20.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name*string
guests*number

Response Body

application/json

application/json

curl -X POST "https://example.com/api/reservations" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "guests": 0  }'
{  "message": "string"}