node-ovh icon indicating copy to clipboard operation
node-ovh copied to clipboard

Cors issue when call api

Open Silbad opened this issue 3 years ago • 0 comments

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 avatar Dec 15 '20 14:12 Silbad