keyboard
Press Key
Presses a single keyboard key.
POST
/
api
/
keyboard
/
key
Copy
curl --request POST \
--url http://localhost:4242/{computer_name}/api/keyboard/key \
--header 'Content-Type: application/json' \
--data '{
"display_num": 1,
"key": "enter"
}'
Copy
"<any>"
Body
application/json
Key to press
Response
200
application/json
Successfully pressed the key
The response is of type any
.
Copy
curl --request POST \
--url http://localhost:4242/{computer_name}/api/keyboard/key \
--header 'Content-Type: application/json' \
--data '{
"display_num": 1,
"key": "enter"
}'
Copy
"<any>"
Assistant
Responses are generated using AI and may contain mistakes.