Thanks Mark. So it sounds like I could use the Post command along with libURLFormData to send off the URL and then check the it variable to get whatever comes back.
Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Fri, Nov 6, 2015 at 2:07 PM, Mark Wieder <mwie...@ahsoftware.net> wrote: > On 11/06/2015 01:52 PM, Peter Haworth wrote: > >> I'm working on a project that requires I learn about using URLs to >> interface to a third party API. I have been given php code that does what >> I need so I could just execute the php scrips from LC and grab the output. >> But should I ever need to make changes to the php code, I wouldn't know >> where to start so would prefer to implement this with Livecode. >> >> I have all the necessary URLs and they return "a REST-compliant XML feed" >> . >> Can someone point me to a lesson of some sort that would point me in the >> right direction? >> > > For simple REST services you can probably get by with GET and POST. For > anything more robust I shell out to httpie. And for testing REST functions, > the Postman plugin/app for Chrome is great. > > -- > Mark Wieder > ahsoftw...@gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode