Action URL with Headers

Action URL with Headers

Edited by Matias at 2023-09-01 23:50

Hello,

How can I send a Action URL with Headers? I need send a command for tedee Smart Locks and the URL have PrivateKey in the headers.

Example with Curl
curl -X 'POST' \
'https://api.tedee.com/api/v1.30/my/lock/6542/operation/lock' \
-H 'accept: application/json' \
-H 'Authorization: PersonalKey 1234#@=' \
-d ''

I have R29S with Firmware Version 29.30.3.111


Thank you.



All comments 6
    jasson 2023-09-05 14:53:13
    Edited by jasson at 2023-09-05 14:55

    The action URL request with header is currently not available, we have to enter the private key manually after you send the command.
    And I have attached one demo in the comment.
    Attachment: 11You have to Login for download or view attachment(s). No Account? Register
    Matias 2023-09-06 21:15:59
    Hi! thank you for you response, I don't see the attached demo.
    Akuvox_Mia 2023-09-07 11:18:08
    Matias replied at 2023-09-06 21:15
    Hi! thank you for you response, I don't see the attached demo.

    Matias,
    please look again.


    Attachment: 11You have to Login for download or view attachment(s). No Account? Register
    Matias 2023-09-07 22:11:20
    Akuvox_Mia replied at 2023-09-07 11:18
    Matias,
    please look again.

    Thank you Mia.

    I don't understand how or when that popup show.

    I have only in action URL this:



    I need add to the link the header:

    - Authorization: PersonalKey 1234#@=

    do you know how I can add that?

    Attachment: 11You have to Login for download or view attachment(s). No Account? Register
    jasson 2023-09-08 15:38:42
    Can you check if the authorization popup will show when you send this command in your browser.If not , maybe your browser prohibit the popup.
    And the additional authorization is needed , the action url with private key headers is not supported yet.
    Matias 2023-09-08 17:07:40
    jasson replied at 2023-09-08 15:38
    Can you check if the authorization popup will show when you send this command in your browser.If not ...

    Ok, maybe do you know another way for integrate tedee device? This is the api:

    https://tedee-tedee-api-doc.readthedocs-hosted.com/en/latest/
You have to log in before you can reply Login | Sign up