I have to return to this.
I did rebuild this today, but I only got an error-message (translated with google):
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: * / *
process, the following error occurred:
A part of the HTTP request is invalid. Possible reasons:
Missing or unknown request method (GET, POST)
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:
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)
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?