I am sending the request to google place api. I am getting an error
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.
I am using an api key which I created for testing purpose.I enabled google place web service api.I inserted the the url "http://localhost:4200" while generating the api.I am not sure where I am going wrong.Please suggest how should I make this correct and save the reponse.
Aucun commentaire:
Enregistrer un commentaire