cURL
curl --request GET \ --url https://api.example.com/books/{isbn}
{ "isbn": "<string>", "title": "<string>", "author": { "author.id": 123, "author.name": "<string>", "author.age": 123 }, "stock": 123, "coverImage": "<string>" }
curl -X GET https://api.example.com/books/978-0-7475-3269-9 \ -u username:password
{ "isbn": "978-0-7475-3269-9", "title": "Harry Potter and the Philosopher Stone", "author": { "id": 1, "name": "J.K. Rowling", "age": 58 }, "stock": 15, "coverImage": "https://example.com/covers/hp1.jpg" }
coverImage