searchText = screen.GetText()
print "search text: "; searchText
m.UrlBase = "http://somewebserver.com/web/"
m.Text = "/sample.php?text="
rhttp = NewHttp(m.UrlBase + m.Text + searchText)
rsp = rhttp.Http.GetToString()
I'm posting as a GET to a webserver. searchText is the result of input from the roKeyboardScreen. If I have spaces or reserved characters in searchText, it will print to the debug console, but the http GET silently fails.
My webserver will certainly take something like this
http://somewebserver/web/sample.php?text=1111 3333
Is there anything I can do in Brightscript to quote searchText to be passed?