cURL
curl --request POST \ --url https://api.onkernel.com/browsers/{id}/process/{process_id}/stdin \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "data_b64": "<string>" } '
{ "written_bytes": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser session ID
Data to write to the process standard input.
Base64-encoded data to write.
Bytes written
Result of writing to stdin.
Number of bytes written.