When I try to run an command via /cmd, I am getting status 415, Unsupported Media Type.
Already tried: curl -X POST http://localhost:8080/api/v5/cmd -H "X-WebAPI-Key: MYKEY" -d '[{"command": "weather clear", "hiddenInConsole": true, "name": "test", "waitLines": 0, "waitTime": 0}]' .
When I try to run an command via
/cmd
, I am getting status 415, Unsupported Media Type. Already tried:curl -X POST http://localhost:8080/api/v5/cmd -H "X-WebAPI-Key: MYKEY" -d '[{"command": "weather clear", "hiddenInConsole": true, "name": "test", "waitLines": 0, "waitTime": 0}]'
.