This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Danfoss API
#1
Hello,

I'm trying to translate in lua script this curl command but this doesn't work could you can help me please.

command for connexion:

curl -X POST https://api.danfoss.com/oauth2/token -H "Authorization: Basic [mytoken]" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=client_credentials"


command query:

GET
/devices

You can query the details about operable devices, including properties and the latest status of the device.
HTTP request:
https://api.danfoss.com/ally/devices
Response Types:
200:

Thanks
Reply


Messages In This Thread
Danfoss API - by Pierre - 23.06.2021, 17:19
RE: Danfoss API - by JRP - 24.06.2021, 15:08

Forum Jump: