Page 1 of 1

Live API: how to pass parameters?

Posted: Fri Mar 17, 2023 9:45 am
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

Re: Live API: how to pass parameters?

Posted: Fri Mar 17, 2023 9:45 am
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