application/json
POST
/api/v1/trips
cURL (application/json)
curl \
--request POST 'http://api.example.com/api/v1/trips' \
--header "Content-Type: application/json" \
--data '{"name":"string","startAt":"2025-05-04T09:42:00Z","vacationId":42}'
curl \
--request POST 'http://api.example.com/api/v1/trips' \
--header "Content-Type: text/json"
curl \
--request POST 'http://api.example.com/api/v1/trips' \
--header "Content-Type: application/*+json"
Request examples
{
"name": "string",
"startAt": "2025-05-04T09:42:00Z",
"vacationId": 42
}
Request examples
{
"name": "string",
"startAt": "2025-05-04T09:42:00Z",
"vacationId": 42
}
Request examples
{
"name": "string",
"startAt": "2025-05-04T09:42:00Z",
"vacationId": 42
}