How to enable CORS for Google Places API -
i have tried possible make app work without need "enable cors extension chrome". followed steps on google's official website talks of authtokens, tried using every different key, nothing works. following error:
xmlhttprequest cannot load https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=mykey&location=33.854546,-84.35870369999999&types=restaurant&rankby=distance.
no 'access-control-allow-origin' header present on requested resource. origin http://localhost:8100
therefore not allowed access.
is possible access google places api inside app, without cors extension chrome?
Comments
Post a Comment