@p.kaczmarek2, thanks!
Now it (sendGET/POST) works! But I have another question.
1)
How can you manage channel states by receiving data from responses from a third-party HTTP server?
For example, I make request
sendGET https://mysite.com/openbkn_get_instructions/
and server sends an answer with raw (i.e. "Channel1=1&Channel2=0") or JSON (i.e. {"Channel1": "1"}), so how can I interpret server responses to change channel status on my device?
2)
How can I send some JSON data to third-party HTTP server?
For example, if I enter this in my browser
http://192.168.1.95/cm?cmnd=Status 8 it returns some data in JSON:
{"StatusSNS":{"Time":"2025-12-01T18:41:07","ENERGY":{"Power": 0.000000,"ApparentPower": 0.000000,"ReactivePower": 0.000000,"Factor":1.000000,"Voltage":231.583771,"Current":0.000000,"Frequency":0.000000,"ConsumptionTotal":38.524380,"Yesterday": 2.533750,"ConsumptionLastHour":0.001772},"ESP32":{"Temperature": 46.0},"TempUnit":"C"}}
How can I send this JSON data (POST or GET) to my server on URL
https://mysite.com/openbkn_status/