VoxCommando Forum

Help and Support (Using VoxCommando) => VoxCommando Basics and Core Features => Topic started by: xtermin8r on April 09, 2014, 05:09:08 PM

Title: http api event command
Post by: 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
Title: Re: http api event command
Post by: jitterjames on April 09, 2014, 06:23:55 PM
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.

Title: Re: http api event command
Post by: jitterjames on April 09, 2014, 06:25:08 PM
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.