Logo
Hack Back Better Demo API Documentation

Get a book by id

GET {{baseUrl}}/books/:id

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "id": "29cd820f-82f9-4b45-a7f4-0924111b5b89", "title": "Ficciones", "author": "Jorge Luis Borges", "genre": "fiction", "yearPublished": 1944, "checkedOut": false, "isPermanentCollection": true, "createdAt": "2022-03-04T22:10:24.526Z" }



Curl
curl -X GET 'https://library-api.postmanlabs.com/books/:id' -H 'Accept: application/json'

ENDPOINTS