You need to know how the response is being returned. If I were using the
XMLHttpRequest Object (in client side JScript), the return would come back
from the server via Response.Write and then after the request is sent, a
callback function keeps poling the XMLHttpRequest object for the return
value.
How to get this into RBase? I would write a client side HTA to give you a
GUI interface. Since HTA's can use the FileSystemObject to access the local
file system, you could write the response to a file. You would include code
in your HTA, that upon the response being returned and written to a file,
the HTA would close and you would be back to your calling form in RBase,
ready to get the results from the file written by the HTA.
That's all I can come up with just now.
----- Original Message -----
From: "Thomas Cimicato" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Sunday, March 14, 2010 2:23 PM
Subject: [RBASE-L] - Capturing URL Response
My Rbase app needs to call a PHP app on another server that will return a
string response. How can I get Rbase to submit the URL Post
"https://secure.domainname.com/program.php?vars" and capture the response
to a string?
Thanx
Thom