Nothing I changed made a connection (using "http::" and writeline("GET /" + url + "HTTP/1.0 (or 1.1) ~r~n~r~n")), OpenStream still returns null.
I think you're a bit confused about the difference between a tcp and a http stream...Local stream:TStream = OpenStream("http::ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=hello&langpair=en%7Cel") Assert stream, "Couldn't establish connection" Print stream.ReadLine() stream.Close()
It'd probably be a good idea to check that the header returned is free from error (HTTP/1.X 200 OK).