-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable CORS? #3
Comments
Yes, I think you can't make XHR requests against this API, I don't think it would be hard to support cross origin requests, but I won't be able to do it in the near future. If you need it right now I'd suggest to create a proxy server to consume this API. You could also add this feature by submitting a PR to speed up the process. |
Sorry, I don't really have a Ruby environment or know Ruby at all. But here's a jsfiddle that reproduces the issue. |
Yes this could be really usefull |
better using |
First off, I love your service! Would it be possible to allow cross origin requests?
When I try and access
http://artii.herokuapp.com/make?Hi
from a web application, I get the following error:I'm not trying to use your API for production use, just for some web development training and tinkering.
The text was updated successfully, but these errors were encountered: