vue-resource
vue-resource copied to clipboard
Failed to load https://enigmatic-shore-55329.herokuapp.com/posts: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:3000’ is therefore not allowed access. The response had HTTP status code 503. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
Reproduction Link
Steps to reproduce
What is Expected?
What is actually happening?
I'm trying to deploy my backend with heroku but getting complain about CORS disabled.
Maybe try testing on axios (https://github.com/axios/axios). If axios works, its because of your server setup.