I have to return to this.
I did rebuild this today, but I only got an error-message (translated with google):
[quote]ERROR
The requested URL could not be retrieved
During the experiment, the request
POST / maps / api / geocode / json? Reitbahnstra address =% C3% 9Fe% 2042% 2009111% 20Chemnitz & sensor = false & Language = en HTTP/1.0
Accept: * / *
Accept-Language: en
Host: maps.googleapis.com
process, the following error occurred:
Invalid request
A part of the HTTP request is invalid. Possible reasons:
Missing or unknown request method (GET, POST)
Missing URL
Missing HTTP Identifier (HTTP/1.0)
Request is too large
Content-Length missing for POST or PUT requests
Invalid characters in the hostname - for example, Underscores (’_’), umlauts and commas are not allowed.[/quote]
This is the String I use:
http://maps.googleapis.com/maps/api/geocode/json?address=Reitbahnstra%C3%9Fe%2042,%2009111%20Chemnitz&sensor=false
If I copy that into the Browser, it works!
This is the code:
[code]Dim d As New Dictionary
Dim result As String
Dim socket as New HTTPSocket
socket.HTTPProxyPort = 3128
socket.HTTPProxyAddress = “proxy01”
result = Socket.post(“http://maps.googleapis.com/maps/api/geocode/json?address=Reitbahnstraße%2042,%2009111%20Chemnitz&sensor=false&Language=de”, 30)
return result
[/code]
If I remove the proxy, I get an empty response.
Is it possble, that the reason is the proxy we use? Wouldnt stand there another Error-Message?