News:

HOT TIP! In the command editor, you can ctrl-click and drag an item to create a copy of it.

Main Menu

http api event command

Started by xtermin8r, April 09, 2014, 05:09:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xtermin8r

hi

is this a illegal vc http command http://127.0.0.1:8081/api/event&&jarvis
I get an error: Unknown Action
Neural Net Based Artificial Intelligence.

jitterjames

Yes.  This is an old way of doing it and not supported by plugins (only by the udp listener).  It is best to always use a valid action.  So in this case you should use.

http://127.0.0.1:8081/api/VC.TriggerEvent&&Jarvis

I realize this is inconsistent, and I apologize for that, but the other method is a vestigial one, and I did not want to remove it for fear of breaking things that people already had set up.  Please consider it deprecated though.


jitterjames

Quote from: xtermin8r on April 09, 2014, 05:09:08 PM
hi

is this a illegal vc http command http://127.0.0.1:8081/api/event&&jarvis
I get an error: Unknown Action

Also, if I suggested this method somewhere in the documentation (wiki), please let me know where you found it so I can correct it.