karan / HNify

Hacker News REST API using Flask on Heroku using memcached.
http://hnify.herokuapp.com/
MIT License
91 stars 11 forks source link

No "Access-Control-Allow-Origin" header is present on the requested resource. #11

Closed JaredCubilla closed 10 years ago

JaredCubilla commented 10 years ago

Hello, there. I'm testing your API on a localhost:9000 and it isn't working due to the above error. I'm using jQuery's .get method and the the Yeoman Workflow.

The full error is as follows:

XMLHttpRequest cannot load http://hnify.herokuapp.com/get/top. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9000' is therefore not allowed access. 
karan commented 10 years ago

Should be fixed now.