Sending REST commands to a server

dhjdhjdhj's icon

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

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.

Thanks,
D

dhjdhjdhj's icon

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?