Hi All
As a newbie I am struggling when attempting to POST JSON arrays.
The URL I want to post to
http://192.168.150.210/ajax/cfgpars.json?rauth=0x04
The JSON array to POST
{"FileName":"cfgpars.json","CmdArr":[["set","gpio","state","4","on"]]}
What I have tried:
This works with various REST test tools but can anyone point me to some sample jsp code to do this (no device or user authentication is required). I have seen some examples but they are upwards of 50 lines of code which seems far too complex for such a simple command.
Regards
Active