Skip to content
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

Cors issue when call api #42

Open
Silbad opened this issue Dec 15, 2020 · 0 comments
Open

Cors issue when call api #42

Silbad opened this issue Dec 15, 2020 · 0 comments

Comments

@Silbad
Copy link

Silbad commented Dec 15, 2020

Hello
I have a cors issue when I call the api :

Access to fetch at 'https://eu.api.ovh.com/1.0/me' from origin 'http://localhost:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

appKey, appSecret and consumerKey are ok.
How can I enable it ? I use nuxt.js. Thanks

@Silbad Silbad changed the title Cors issue from http://localhost:8081 Cors issue when call api Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant