cURL
curl --request POST \ --url http://localhost:4242/{computer_name}/api/keyboard/hotkey \ --header 'Content-Type: application/json' \ --data ' { "display_num": 1, "keys": [ "ctrl", "c" ] } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Presses multiple keys simultaneously to perform a hotkey combination.
Keys to press simultaneously
List of keys to press simultaneously
1
["ctrl", "c"]
Display number to target
Successfully pressed the hotkey combination