wild-rydes-mobile icon indicating copy to clipboard operation
wild-rydes-mobile copied to clipboard

API.get throws CORS header ‘Access-Control-Allow-Origin’ missing

Open pallavparikh opened this issue 6 years ago • 1 comments

I tried configuring cloud-api. but I am getting following CORS errors.

when I try API.get() method.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://xxxx.execute-api.eu-west-1.amazonaws.com/Development/pet. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

any idea how to fix this ?

pallavparikh avatar Jul 24 '18 18:07 pallavparikh