Jump to content

REST command from a DOS batch file


johnnyt

Recommended Posts

Posted

How does one send a REST command to ISY from a DOS batch file?

 

How do I do it from a VB Script?

 

I did browse the wiki but found nothing on how to actually make a REST call. (I did figure out that I can do it using firefox but I can't call FF from a DOS box.) Maybe I just didn't look in the right places?

 

Any info would be appreciated.

Posted

I use a program called "http-ping.exe." It lets me send http commands from a command line. For example, this one executes the "runThen" of program 0115:

 

http-ping.exe -n 1 http://userid:password@192.168.75.18:3968/rest/programs/0115/runThen

 

In this case, fill in userid and password with your own and put in the right IP address and TCP port. The -n 1 causes it to run once. Full set of commands are shown with an "http-ping /?" command.

 

I got http-ping from here:

 

http://www.coretechnologies.com/products/http-ping/

 

r-

 

Tom C.

http://www.outcropacres.com

Guest
This topic is now closed to further replies.

×
×
  • Create New...