Goodreads Developers discussion
feature requests
>
cors access-control-allow-origin
date
newest »


Was surprised to run into this issue today. The API is essentially useless for modern web development without the CORS header.







use it as: http://cors-anywhere.herokuapp.com/ht...

Here is my findings, hope this helps.
Blocked loading mixed active content “http://cors-anywhere.herokuapp.com/ht...”
Below are the steps that helped me resolve the issue.
1. replaced http:// with https://
Refer:
1. https://markitzeroday.com/x-requested...
Source code for reference:
var config = {headers: {"X-Requested-With" : "XMLHttpRequest"}};
axios.get("https://cors-anywhere.herokuapp.com/h..."+ this.grkey + "&q=" + this.keyword + '&page=' + this.page, config )


Since this has been asked for since 2016, and adding CORS headers takes 5minutes and it has not been done yet... I wouldn't bet a penny on this. I'll try the proxy solutions above...

It is becoming painfully obvious to me that since the purchase by Amazon, Goodreads is only meant to serve as a tool only for Amazon and not anyone else.
This API was never meant to be public.

Because they need the API to be as limited as possible while giving the impression that it is giving the public access to data it has helped created.


Hope this helps.

Some of the apis I want to hit directly are,
- https://www.goodreads.com/book/show
- https://www.goodreads.com/book/title
- https://www.goodreads.com/search/inde...
In the meantime I have had to create a proxy server on webtask.io to hit your site indirectly.