Help with MAXURL object

GGM's icon

Hi,

I'm trying to port a CURL command (via aka.shell) into a MAXURL command (so it can be used on a PC as well as a Mac)

An example of the command I'm sending via the Terminal application on my Mac to my external device is

curl -i -X PUT -H "Content-Type:application/json" -d '{ "active": "01" }' 'http://10.76.53.144:8080/Blah/Blah'

After some trial and error, I got this to behave with a TOSYMBOL object and an AKA.SHELL object, however, I am struggling with re-formatting this to behave with a MAXURL object.

Any helpful pointers would be appreciated!

Cheers
-geoff

yaniki's icon

Not sure if this will be helpful, but you may be interesting in this topic:

https://cycling74.com/forums/-sharing-parsing-dictionaries-from-maxurl

Its a simple solution for typical [maxurl] usage.