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