Hi,
I’m developing a VueJS app which has to call the API to retrieve data from contacts and theirs deals information.
I use fetch.
My problem is that I have a CORS issue when I call /api/3/deals :
“Access to fetch at ‘https://myUrl.com/api/3/deals?api_key=myKey’ from origin ‘http://localhost:8080’ 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.”
Why can I fetch /contacts and not /deals?
Does anyone have had the same problem?
Thanks for your help