On Jan 28, 6:15 pm, Bruno Ronchetti <[email protected]> wrote: > Hi there, > > I am pretty new to google maps and am probably doing something > horribly wrong. Hope that someone can help me out. > > When I use the following URL in the browser: > http://maps.googleapis.com/maps/api/geocode/json?address=Milano&senso... > I am getting the expected response. > > But when I try to use the same URL from inside my javascript framework > i am getting a 405 response. > > The URL is embedded in an URLRequest object which looks like this: > urlrequest.isa=CPURLRequest > urlrequest._UID=10851 > urlrequest._URL=http://maps.googleapis.com/maps/api/geocode/json? > address=Milano&sensor=false > urlrequest._HTTPBody= > urlrequest._HTTPMethod=GET > urlrequest._HTTPHeaderFields={ > If-Modified-Since = "Thu, 1 Jan 1970 00:00:00 GMT" > Cache-Control = "no-cache" > X-Requested-With = "XMLHttpRequest" > Content-Type = "text/plain;charset=UTF-8" > } > > The URL itself seems identical to me, so it could be something with > the headers... or something else that I do not understand. > > Thanks in advance for any clues. > > Regards. Bruno.
-- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
