Closed HeraldCoupe closed 1 year ago
Check #15
I got there eventually. I imported my curl into Postman and ran it from there. At least I have a starting point now. In case others are also struggling, here is my curl:
curl --location --request POST \ 'https://gateway-mypin.local:8443/enduser-mobile-web/1/enduserAPI/exec/apply' \ --header 'accept: application/json' \ --header 'Authorization: Bearer mytoken' \ --header 'Content-Type: application/json' \ --data-raw '{ "label": "MyLabel", "actions": [ { "commands": [ { "name": "down" } ], "deviceURL": "rts://mypin/16774015" } ] }'
I've managed to get to the point where I have a token but I can't figure out how to open or close a blind. Does anyone have a working curl example they they can share?