SetParameterValues failed with prompt curl: (52) Empty reply from server
ansen@unificontroller:~$ curl -X POST 'http://localhost:7557/devices/107C61-RT%252DAX52-107C6198723C/tasks?timeout=3000&connection_request' --data '{"name": "setParameterValues", "parameterNames": ["Device.IP.Diagnostics.SpeedTest.DiagnosticsState","Requested"]}'
curl: (52) Empty reply from server
ansen@unificontroller:~$ curl -X POST 'http://localhost:7557/devices/107C61-RT%252DAX52-107C6198723C/tasks?timeout=3000&connection_request' --data '{"name": "setParameterValues", "parameterNames": ["Device.IP.Diagnostics.SpeedTest.DiagnosticsState","Requested","xsd:string"]}'
curl: (52) Empty reply from server
There is another issue, getParameterValues cannot obtain the actual value
ansen@unificontroller:~$ curl -X POST 'http://localhost:7557/devices/107C61-RT%252DAX52-107C6198723C/tasks?timeout=3000&connection_request' --data '{"name": "getParameterValues", "parameterNames":["Device.IP.Diagnostics.SpeedTest.ResultFile"] }'
{"name":"getParameterValues","parameterNames":["Device.IP.Diagnostics.SpeedTest.ResultFile"],"device":"107C61-RT%2DAX52-107C6198723C","timestamp":"2024-12-03T03:31:11.217Z","_id":"674e7b7f13ebd4009749701b"}