You can have a look at this:
The other way is to work with Node-RED to receive the http requests and link it to openhab with “node-red-contrib-openhab2” for example.