A category of Azure services for internet of things devices.
Hello @Mohannad Alahdab ,
this is an ice IoT use-case.
With gateway, I expect you mean the local gateway which takes and exposes messages received by LoraWan devices in the neighborhood.
You are already able to receive messages using a REST endpoint on your gateway using POST of GET calls (via Postman).
What you need is some way to make the REST calls using code, optionally convert the incoming message in a JSON format, and finally, send that message to the Azure cloud.
The easiest way is just to write some application in a programming language of your choice (C#, Python, NodeJS, etc.) to make the REST call and do the conversion. And consume the Azure IoT SDK related to your programming language to send an IoT Hub message.
The only thing to remember is that you have to redeploy your application by hand on the local device if you make a change in the program.
A more reliable way is making use of Azure IoT Edge. You still write that application but you put it in a docker container which is deployed to your device using Azure IoT Edge.
If your gateway is running eg. Ubuntu Linux or Raspbian and it's capable to run the Moby container runtime, your gateway can become the Azure IoT Edge device.
Check out this MS Learn Module about Azure IoT Edge.