I'm trying to experiment with the /.shell endpoint in HTTP API but every command I pass returns:
{"stdout": "", "stderr": "exec: no command", "code": -1}
Is there a specific way the shell commands should be passed to the server?
I'm trying to experiment with the /.shell endpoint in HTTP API but every command I pass returns:
{"stdout": "", "stderr": "exec: no command", "code": -1}
Is there a specific way the shell commands should be passed to the server?
Ah thank you, this explains the JSON payload!