Alternative to calling via cURL

Magicgate Software - Skip Kimpel skip at magicgate.com
Tue Dec 30 15:43:54 EST 2014


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"}'

I am sure there is a way to do this from within LC. The results come back
as JSON, which I can deal with.

Any help would be greatly appreciated!

SKIP



More information about the use-livecode mailing list