- Code: Select all
do shell script "curl -m 5 --request PUT --data 96.0 --header \"X-ApiKey:<key>\" https://api.xively.com/v2/feeds/97114/datastreams/1.csv
When I execute the curl command in a Terminal window, it works perfectly: the datum is uploaded to Xively/Cosm. But it doesn't work from an AppleScript within Indigo. I've tried putting it both inside and outside a tell block. It worked as recently as last January, so perhaps I need to do something differently in more recent versions of Indigo.
I'm running the latest beta of 6.
George