CORS error when trying to make API calls from localhost:3000

0

I’m using AngularJS to call the SurveyGizmo API in the local environment

When I’m running on localhost:3000 and making API calls to Survey Gizmo, I’m running into the below error.

Failed to load https://restapi.surveygizmo.com/v5/survey?api_token=xxxxxxxxxxxxxxxxxxxxxxx&api_token_secret=xxxxxxxxxxxxxx: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:3000’ is therefore not allowed access.

How can I get past this error? CORS error is generally a server-side error, I think the issue needs to be addressed¬†from SurveyGizmo end if I’m not wrong.

Can anyone shed some light on this issue and provide a workaround ?

Systemlevel account asked
    ×

    Login

    Question stats

    • Active
    • Views195 times
    • Answers0 answers
    • Followers1 follower