Updates API_Books.md
Auto commit by GitBook Editor
parent
5d823746c3
commit
57a37baaa6
|
@ -52,12 +52,14 @@ Expects a JSON book object.
|
|||
|
||||
#### Response
|
||||
|
||||
**200** The books was successfully inserted.
|
||||
**200** The books was successfully inserted. Returns the newly created book.
|
||||
**400** No book payload was provided or the title is empty
|
||||
**500** A server error occured.
|
||||
|
||||
#### Example payload
|
||||
|
||||
In this example, the publisher does alredy exist, only a link to the new book is created. One author \(with the `ID` 5\) also does already exist, the other one is newly created.
|
||||
|
||||
```json
|
||||
{
|
||||
"Title": "Test",
|
||||
|
|
Loading…
Reference in New Issue
Block a user