AnsweredAssumed Answered

cURL with an API not working

Question asked by whardy7 on Aug 20, 2018
Latest reply on Aug 21, 2018 by whardy7

I cannot seem to get my cURL options right for the ISBNdb.com API (a book database).

 

Here is what they say they need:

In order to interact with the API you'll need to use an HTTP header on every request

GET /book/9780134093413 HTTP/1.1

Host: api.isbndb.com

User-Agent: insomnia/5.12.4

X-API-KEY: YOUR_REST_KEY

Accept: */*

 

So, how would I syntax that in the Insert From URL cURL options? I've tried about every option, except, obviously, the right one. It is supposed to return a JSON that I parse (I know how to handle it once I get it.)

Outcomes