I can't seem to find the GET object anywhere, if it comes with MMF2, it doesn't appear in the compatible apps for iOS, but I've seen iOS runtime users using it... I've searched Google and the forum and I can't seem to find the thing. Any help?
Printable View
I can't seem to find the GET object anywhere, if it comes with MMF2, it doesn't appear in the compatible apps for iOS, but I've seen iOS runtime users using it... I've searched Google and the forum and I can't seem to find the thing. Any help?
It really did take a bit of hunting through about ten threads with the title "Get object" to find it - here it is!
http://www.aquadasoft.com/Get.zip
Thanks!
Need to find some examples now...
Get is really simple to work with...
You provide a fully qualified URL when you do the get call then check for the response. Couldn't be easier!
How do I actually retrieve and manage the data though?
• On Get Complete
set a global string = Received$( "Get object" )
Then you can parse the data however you wish...
This may be overkill, but any time i'm doing more than one Get call, I create the get object, do the get, set the data to a variable and destroy the get object.
I do this because I was having issues... sometimes the get didn't seem to return. When i started doing this, my failed gets went away
Ah interesting, thanks for the tip! So the GET object retrieves everything as one string and we can then explode and interpret it accordingly. What kind of data is it reading? XML?
Whatever is returned by the Get. If you do a Get on a URL that is a web page, it returns the entire contents of the HTML, exacty what the browser would receive.
If the return is a single word, then that's what you're going to find in the string.
Thanks, that's perfect! Sorry for all the questions!