On 08/14/2015 04:03 PM, Marty Knapp wrote:
Thanks Richard,
I just solved it - I didn't have it formatted correctly for LC.
Sheesh! I didn't even get a chance to reply.
Yeah, I use curl and/or wget all the time from LC to get around the
limitations of liburl. A little tricky getting the syntax
Thanks Richard,
I just solved it - I didn't have it formatted correctly for LC. In
Terminal I could just enter:
curl -H "Accept: text/xml"
https://API_KEY:api_sec...@www.thewebsite.com/api/v1/data
In LC I had it formatted like this (it compiled):
get shell("curl -H" && "Accept: text/xml" &&
Marty Knapp wrote:
I'm trying to call curl from a shell command from within LC to get info
from a website via their API and am getting a "could not resolve host"
error. I can successfully run curl from the terminal (on Mac). This is
totally new territory for me, so I have almost no idea of what