How to send requests from HTTPS webapp
DESCRIPTION
What is the easiest way to send requests to this SMS gateway from a web app running on a cloud server? The webapp is on a different network from the SMS gateway.
Only remplace the content whit out [ ]
POST //[UR IP AND PORT]/ HTTP/1.1 Host: http AUTHORIZATION: [THE APP KEY] Content-Type: application/json Content-Length: 62
{ "to":"+5213333333333", "message":"Mensaje desde la API" }

cURL example:
curl -X POST "http://<ip>:8082" -d '{"to": "+<tel>", "message": "<message>"}' -H "Authorization: <api key>"
If they are on different networks, you should use a site to site VPN to bridge the networks. That's something you'll have to solve on the network side rather than on the app side.