XClose
List Archives : http://void.nothingness.org
List Archives

XTension Discussion

"loadurl" and curl

From: Jeff Wooding <jeff-AT-qualitytubandtile.com>
Date: 15 Oct 2014 15:31:46 UTC   (11:31:46 AM in author's locale)
To: "xtensionlist-AT-shed.com" <xtensionlist-AT-shed.com>
How difficult is it to curl directly from XTension?
I can curl via "do shell script" correct? Or do I use loadurl that has been added to XTension?
Also is there a way to get the responses back to write log yes all is good or not?

the CURL looks like this

curl -k https://api.pushover.net/1/messages.json -F token=[API Token/Key from above] -F user=[Pushover User Key] -F title="Backwash Complete" -F message="Don't forget to add filter medium"

I'm thinking this is gonna have to be done like James Prowl script but I just want to add this to a unit.

Thanks,
Jeff Wooding
Next message in thread

Thread

Re: "loadurl" and curl / James Sentman <james-AT-sentman.com> / 15 Oct 2014
Re: "loadurl" and curl / James Sentman <james-AT-sentman.com> / 15 Oct 2014
Re: "loadurl" and curl / Thomas Arman <tarman-AT-me.com> / 15 Oct 2014
Re: "loadurl" and curl / James Sentman <james-AT-sentman.com> / 15 Oct 2014
"loadurl" and curl / Jeff Wooding <jeff-AT-qualitytubandtile.com> / 15 Oct 2014

* List Archives

The Graphics ListThe Situationist ListXTension Discussion
 

This site made manifest by Manifesto software

Page executed in 0.024406909942627 seconds.
Loaded 202 classes from 6 of 10 total class files. Read 3 objects from the database. Served 2 items from the cache.
Queries - select: 7 count: 2 update: 1