Live API: how to pass parameters?

Moderator: Telldus

Post Reply
Henri
Posts: 2
Joined: Fri Mar 17, 2023 9:45 am

Live API: how to pass parameters?

Post by Henri »

Hi,

I have been experimenting with Advanced Rest Client for Google Chrome. I have been able to successfully form the Authorization header and all commands are working as expected.

However I have no idea how should I pass the parameters in different cases. (XML vs JSON) (GET vs POST). I have tried something like this for GET-requests without any luck: http://api.telldus.com/json/sensor/info/?id=123456

Also passing POST key value pairs (id = 123456) doesn't work.

Could you give a hint how these parameters should be sent to API?


Br,
Henri
Henri
Posts: 2
Joined: Fri Mar 17, 2023 9:45 am

Re: Live API: how to pass parameters?

Post by Henri »

Ok. I already got that. There was extra slash. :oops: :roll:

This is working:
http://api.telldus.com/xml/sensors/list?includeValues=1
Post Reply