cURL
curl --request POST \ --url http://localhost:2468/v1/processes/{id}/input \ --header 'Content-Type: application/json' \ --data ' { "data": "<string>", "encoding": "<string>" } '
{ "bytesWritten": 1 }
Sends data to a process’s stdin (pipe mode) or PTY writer (tty mode). Data can be encoded as base64, utf8, or text. Returns 413 if the decoded payload exceeds the configured maxInputBytesPerRequest limit.
maxInputBytesPerRequest
Process ID
Input accepted
x >= 0