Sending REST commands to a server

Apr 1, 2012 at 6:52pm

Sending REST commands to a server

Anyone know of an object that supports the ability to send REST style commands to a server?

For example, from a terminal window (on a mac), I can type

curl http://localhost:10250/row/2/column/12 -X PUT –data red

This posts the value “red” to a resource using the PUT request mechanism.

I would like to not have to spawn to a shell to produce these commands as they can happen quite often (in time to music) and so speed is important.


Apr 3, 2012 at 1:27am

I tried using the ‘shell’ external to do this but I’m suspecting that the ‘shell’ external might have a bug where new arriving commands are overwriting the old ones before the old ones have finished executing. Thus if you send a lot of commands very quickly, they don’t work.

Anyone know anything more on this?


You must be logged in to reply to this topic.