Using httpUtils2, I'm attempting to communicate with google maps and also their translation API.
Posting to google maps with:
<code>
sURL=''http://maps.google.com/maps/api/geocode/json?address=" & sAddr & "&sensor=false" Job1.Initialize("Job1",Me)
Job1.PostString(sURL,"")
</code>
works perfectly.
However when posting to google for a translation:
<code>
sURL="http://www.googleapis.com/language/translate/v2?key=" & sMyKey & _
"&source=es&target=en&q=" & sText
Job1.Initialize("Job1",Me)
Job1.PostString(sURL,"")
</code>
the Job returns with an error message of "Not Found".
Both URLs work within a browser, but I can't resolve why one works and the other doesn't.
Any help would be greatly appreciated.
Thanks in advance,
Posting to google maps with:
<code>
sURL=''http://maps.google.com/maps/api/geocode/json?address=" & sAddr & "&sensor=false" Job1.Initialize("Job1",Me)
Job1.PostString(sURL,"")
</code>
works perfectly.
However when posting to google for a translation:
<code>
sURL="http://www.googleapis.com/language/translate/v2?key=" & sMyKey & _
"&source=es&target=en&q=" & sText
Job1.Initialize("Job1",Me)
Job1.PostString(sURL,"")
</code>
the Job returns with an error message of "Not Found".
Both URLs work within a browser, but I can't resolve why one works and the other doesn't.
Any help would be greatly appreciated.
Thanks in advance,