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.

API, POST
#5
(01.11.2022, 07:27)admin Wrote: You need to encode your request data using JSON:
Code:
body = require('json').encode({ dynamicChargerCurrent = dynCurr })
WriteToEasee('chargers/' .. ChargerID  .. '/settings', body)

BINGO, Thank You, as always Smile
Only thing missing now is the response_body.. that one is blank.
Reply


Messages In This Thread
API, POST - by tomnord - 01.11.2022, 07:17
RE: API, POST - by admin - 01.11.2022, 07:19
RE: API, POST - by tomnord - 01.11.2022, 07:23
RE: API, POST - by admin - 01.11.2022, 07:27
RE: API, POST - by tomnord - 01.11.2022, 07:44

Forum Jump: