Re: Alternative to calling via cURL

2014-12-30 Thread Michael Doub
Skip, Take a look at the postmark routines in my MasterLibrary. I think that they will get you started. Also the library contains the JSON code you will need. Regards, Mike https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 On 12/30/14 3:43 PM, Magicgate Softwar

Alternative to calling via cURL

2014-12-30 Thread Magicgate Software - Skip Kimpel
Hello LC'ers I have an API I am trying to get data from, I can access it via cURL, how would I attack this from a LC level? Example of call: curl -G -H "api_key: A28894762098BJTEST" https://api.myapi.com/test/v1/products --data-urlencode 'q={"cat_id":12345,"brand":"My Brand","model":"My Model"}'