POST http://fake-library.com/api/v1/author/add
Content-Type: application/json
{
"data": {
"name": "Arthur",
"secondName": "Klark"
}
}
HTTP 201 (created)
Content-Type: application/json
{
"links": {
"self": "http://fake-library.com/api/v1/author/0"
},
"meta": {
"copyright": "Copyright 2015 Fake Library Corp."
}
}
НАЗАД <- Примеры запросов