Send http json command on switch

Hi,
I am just migrating from domoticz and have a bunch of espeasy flashed sonoffs lying around.
In domoticz I could control them by assigning the required json commands to specific switch

for example
when switch on send
http://192.168.0.216/control?cmd=GPIO,12,1

when switch off
http://192.168.0.216/control?cmd=GPIO,12,0

Is this also possible in openhab?
I would rather not use mqtt if possible.

Is there another possibility to control my devices?

Tank you for you help.

Yes, you can use the HTTP Binding.

Easy to do it with http binding, but why don’t you want to use mqtt?

Fyi: this: http://192.168.0.216/control?cmd=GPIO,12,1 is no json…