Body
-
title
string | null -
description
string | null -
price
number(double) -
publishedDate
string(date-time)
curl \
-X POST http://api.example.com/api/Book/api/book/insert-book \
-H "Content-Type: application/json" \
-d '{"title":"string","description":"string","price":42.0,"publishedDate":"2024-05-04T09:42:00+00:00"}'
curl \
-X POST http://api.example.com/api/Book/api/book/insert-book \
-H "Content-Type: text/json"
curl \
-X POST http://api.example.com/api/Book/api/book/insert-book \
-H "Content-Type: application/*+json"
{
"title": "string",
"description": "string",
"price": 42.0,
"publishedDate": "2024-05-04T09:42:00+00:00"
}
{
"title": "string",
"description": "string",
"price": 42.0,
"publishedDate": "2025-05-04T09:42:00Z"
}
{
"title": "string",
"description": "string",
"price": 42.0,
"publishedDate": "2025-05-04T09:42:00Z"
}
{
"title": "string",
"description": "string",
"price": 42.0,
"publishedDate": "2024-05-04T09:42:00+00:00"
}
{
"title": "string",
"description": "string",
"price": 42.0,
"publishedDate": "2025-05-04T09:42:00Z"
}
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}