I'm trying to get my head around the API, but I just cant get it to work.
I have successfully made a devices/list call by adding my Authorization header, but when I try to get info from one of my sensors/devices I get a 401 telling me "OAuth Verification Failed: Verification of signature failed".
From my Googling it seems that I might be missing a oauth_verifier, but I don't understand how to receive the verifier. Do I need to get it via some authentication call or what?
Also the documentation on api.telldus.com doesn't say how to apply the id to the sensor/info call. I have tried both as a querystring and as a header parameter called id: 123456
Here is how my Header looks like.
Code: Select all
Authorization: OAuth oauth_consumer_key="**********",oauth_nonce="**********",oauth_signature="**********",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1460616060",oauth_token="**********",oauth_version="1.0"