I am trying to get the longitude and latitude from google by sending them an address. I have sub-classed HTTPSecureSocket with a PageReceived event. I call the api this way:
dim address as string = "2 On Yiu Street, Shatin" dim key as string = <my key> dim url as string = "https://maps.googleapis.com/maps/api/geocode/json?address=" + address + "&key=" + key dim socket1 as new MyClass1 socket1.get(url)
In the PageReceived event, I got Error 400 (Bad Request) ..... But if I open the url in chrome, it returns the right data that I want. Please help.