Skip to content

How to instantiate a remote via curl  #37

@andres-asm

Description

@andres-asm

Hi

I want to do some automation, and unified remote is the perfect tool for this.
I want to use the keypad remote via curl to get some things inputted in an app running as windows administrator

I know how to get the keys pressed:

@curl "http://localhost:9510/client/request" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0" -H "Accept: */*" -H "Accept-Language: en-GB,en;q=0.5" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "UR-Connection-ID: %var%" -H "X-Requested-With: XMLHttpRequest" -H "Origin: http://localhost:9510" -H "Connection: keep-alive" -H "Referer: http://localhost:9510/client/" -H "Pragma: no-cache" -H "Cache-Control: no-cache" --data-raw "{""ID"":""Unified.Numpad"",""Action"":7,""Request"":7,""Run"":{""Name"":""num_9""},""Source"":""web-f4dd3b33-f983-4033-b704-6720b1686f7c""}"

But I don't know how to get the remote initialized properly, as in, I don't know how to get the connection ready.
Is there any documentation on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions