Closed nevnein closed 5 years ago
I'll consider it!!
We do provide jsonp API that you can use cross-domain: http://bible-api.com/john+3:16?callback=whatever
I can't get it to work. I keep getting the same error. Can someone help?
Yeh, I'm getting the same error here 😢
This took me over a year 😠but it's finally done!
@seven1m Woo hoo! Thank you so much for this! I might finally use this API for something. :heart:
I recently got the CORS as as well.
Acess to fetch at 'https://bible-api.com/John+1:1?translation=web' from origin 'xxx' has been blocked by CORS policy: Request header field content-type is not allowed by Access-Control-Allow-Headers in preflight response.
@tim-hub I added a new issue for that: #86
When trying to GET a resource with the new fetch() API, the access is blocked due to CORS policy:
Please consider adding Access-Control-Allow-Origin: * header to the response.
I am not familiar with Sinatra, else I would've opened a pull request myself; anyway, I found this article which may prove useful: Adding CORS configuration to a Sinatra app Thank you for your time