I have been struggling to submit a simple get request to google places api 

<https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&types=food&name=cruise&key=xxxx>

I keep on getting an error:
XMLHttpRequest cannot load <https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8>…ius=500&types=food&name=cruise&key=xxxx. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '8100' is therefore not allowed access. 

I looked this up online and it has something to do with CORS but I havent been able to figure anything out. If someone could point me in the right direction that would be great.

thanks