wild-rydes-mobile
wild-rydes-mobile copied to clipboard
API.get throws CORS header ‘Access-Control-Allow-Origin’ missing
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 ?