Hi,
I’m trying to send a POST request to change the value of the channel in my custom controller. I’m using Postman.
The HTTP address: http://admin:admin@localhost:8084/rest/channel/ctrlio.openems.edge.controller.LoadManagement0/Yesterday,
and the body of the request:
{
“value”: 0.1
}
The request goes through, the response is “{}”, but the value of the channel is not changed.
Am I using the wrong body of the request? Maybe I should use parameters? I’m not quite sure, I would appreciate some help here.
All the best,
Karolina