On Aug 21, 10:31 am, Chuck Bevitt <[email protected]> wrote:
> To use google static maps requires obtaining an API key that is
> registered for the domain. This statement sounds like a complete
> explanation, but just how does that work? How does google 'see' the
> domain when the URL is embedded in a web page that is executing in a
> user's browser out in the internet?
>
> Looking at it step by step:
>
> - Suppose I have a web server atwww.MyServer.com.
> - A user in the internet browses tohttp://www.MyServer.com/MyPage.aspx.
> - My web server sends the page to the user's browser.
> - The user's browser begins rendering the page and discovers an image
> tab with a URL like:http://maps.google.com/staticmap?...
> - The user's browser opens a new TCP/IP connection to maps.google.com
> and requests the URL.
>
> Now, how does google see that the request originating from the user's
> browser is part of a page fromwww.MyServer.com?Do browsers include
> the page URL as part of the HTTP request to get the contents for the
> image?

Yes.

http://requestheaders.com/

from:
http://www.google.com/search?sourceid=gmail&rls=gm&q=http%20request%20headers


>
> Hopefully understanding EXACTLY how it works will avoid embarrassing
> FORBIDDEN messages.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to