I'm developing a system made in Silex / PHP and the frontEnd of it is being done in AngularJs, I have a method in it that I'm wanting it to do a search in the Google Maps API to return me a certain route, but every time I returns the following error:
Therequestheader:
If I enable cors with the Chrome extension it works perfectly:
Ihaveanindex.phpwhereallrequestsgothroughit,soinsertthefollowing:
I've tried everything but nothing works, has anyone had it?