Hi,
I was wondering if there are any examples around for how to use POST ...../consoles/{id}/send_input/
, especially which parameters are required and the expected Content-Type and format of the commands. I see from the docs that newline (\n
) terminated commands are expected, but without an example I'm struggling to know exactly what payload is expected, and have tried a few things without luck.
I also scoured the helper scripts on GitHub, but they seem to expect to be run interactively in a PythonAnywhere web console.
Am I right in assuming that console send_input
is the main remote-automation interface available?
Thanks Brett