Google Sites appending atari-embeds.googleusercontent.com to my API calls - how can I make calls using my domain only?

I am trying to use a Web API to get some mapping data. To enable this I have to register my domain name with the supplier, they issue me with a unique key for the domain name and then check that calls from the domain use the key.

When the API is called to return mapping data, the supplier is expecting something like:

<please-send-maps-to , key="whatevermykeyis">

however, I am using new Google Sites to build my website and the supplier is actually receiving something like:

<please-send-maps-to 1841824776-atari-embeds.googleusercontent.com, key="whatevermykeyis">

So my API calls are always rejected. My domain provider tells me this is because my transactions are going through Google security layers and so translate my calls to a different domain name.

Anyway, does anyone know how I can make the API calls with my true domain name and make the API work?

Here is the embed code I use to make the api call to return the mapping details:

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="authenticity_token" name="csrf-param" /> <title>Navionics Web API v2</title> <link rel="stylesheet" href=""> <script type="text/javascript" src=""></script> <style type="text/css"> html, body, .test_map_div { margin: 0; width: 100%; height: 100%; } </style> </head> <body > <div ></div> <script> var webapi = new JNC.Views.BoatingNavionicsMap({ tagId: '.test_map_div', center: [ 12.0, 46.0 ], navKey: 'Navionics_webapi_mynavkey' }); webapi.showSonarControl(false); </script> </body> </html> 

Related questions 2 Using google maps API with varied domains 5 Disable Google Anayltics cookie from being sent to cookie less domain 0 Google Places API Related questions 2 Using google maps API with varied domains 5 Disable Google Anayltics cookie from being sent to cookie less domain 0 Google Places API 1 Google Sites API - How to get all domain sites via 2-legged oAuth 0 Can I use the Google Maps API in PhoneGap without whitelisting the google domains? 0 Google API to retrieve Google Sites in Google App account 11 Phonegap Build: Whitelisting Google Map Domains for API v3 1 Google Domain API Access Error 2 How to prevent "accounts.google.com" from becoming source of session 0 Google Maps Embed API Failure Load 7 more related questions Show fewer related questions

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like