Body
Required
The new Review resource
curl \
--request POST 'http://api.example.com/reviews' \
--header "Content-Type: application/ld+json"
curl \
--request POST 'http://api.example.com/reviews' \
--header "Content-Type: application/json" \
--data '{"rating":42,"body":"string","author":"string","publicationDate":"2026-05-04T09:42:00Z","book":"string"}'
curl \
--request POST 'http://api.example.com/reviews' \
--header "Content-Type: text/html"
{
"rating": 42,
"body": "string",
"author": "string",
"publicationDate": "2026-05-04T09:42:00Z",
"book": "string"
}
{
"rating": 42,
"body": "string",
"author": "string",
"publicationDate": "2026-05-04T09:42:00Z",
"book": "string"
}
{
"@context": "string",
"@id": "string",
"@type": "string",
"id": 42,
"rating": 42,
"body": "string",
"author": "string",
"publicationDate": "2026-05-04T09:42:00Z",
"book": "string"
}
{
"id": 42,
"rating": 42,
"body": "string",
"author": "string",
"publicationDate": "2026-05-04T09:42:00Z",
"book": "string"
}