How to interface with third party API using URLs

Mark Wieder mwieder at ahsoftware.net
Fri Nov 6 17:07:19 EST 2015


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
  ahsoftware at gmail.com




More information about the use-livecode mailing list