POST
/
api
/
keyboard
/
hold
curl --request POST \
  --url http://localhost:4242/{computer_name}/api/keyboard/hold \
  --header 'Content-Type: application/json' \
  --data '{
  "display_num": 1,
  "key": "enter"
}'
"<any>"

Body

application/json

Key to hold down

key
string
required

Key to press (e.g., 'a', 'enter', 'shift', 'ctrl', 'alt', etc.)

Example:

"enter"

display_num
integer
default:1

Display number to target

Example:

1

Response

200
application/json
Successfully started holding the key

The response is of type any.