How to use the /.shell endpoint on API

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?

1 Like

Ah thank you, this explains the JSON payload!