I'm using an API to get some data back from a server by sending an HTTP Post.
I can see that the data is coming back perfectly but I don't know how to show it on the site.
Any ideas what I need to do?
I can see that the data is coming back perfectly but I don't know how to show it on the site.
Any ideas what I need to do?
Hi higgle,
How do you know it is coming back OK? Normally I think this would be an asynchronous transaction so I'd expect it to be handled through a custom event using Ajax but I know very little about using HTTP requests like this?
Bob
How do you know it is coming back OK? Normally I think this would be an asynchronous transaction so I'd expect it to be handled through a custom event using Ajax but I know very little about using HTTP requests like this?
Bob
Hi Bob,
I can see that it's coming in fine either: (a) by looking at the debug contents, or (b) if I take the HTTP Post URL and put it straight into the browser.
The data seems to return as an xml document. Looking at this I'm guessing I need to figure out how to parse the xml perhaps?
I can see that it's coming in fine either: (a) by looking at the debug contents, or (b) if I take the HTTP Post URL and put it straight into the browser.
The data seems to return as an xml document. Looking at this I'm guessing I need to figure out how to parse the xml perhaps?
This topic is locked and no more replies can be posted.