Unable to hit canvas api from angular app locally.

Rajesh_1234
Community Member

Hi, I have signed up as an instructor in canvas and grabbed the access token. Now I am trying to fetch data by using the access token and successfully able to get response while hitting the api endpoint from postman. But as soon as I start hitting the endpoint from my localhost it gives me CORS error.Please suggest how to resolve thid. and get data from api on local system.

Screenshot of error is attached below:

Cors-Issue-Canvas.png

0 Likes