If you want to use the HTTP API in Diafaan SMS Server to send messages from a web server on the internet you have to expose the HTTP port 9710 of the computer where Diafaan SMS Server is running to the internet.
In most situations, Diafaan SMS Server will be running on a computer in a local network that uses a NAT router to connect the network to the internet. To expose the HTTP port to the internet, you must set up a port forwarding for port 9710 on the NAT router to the PC that is running Diafaan SMS Server. This page on Wikipedia gives some background information about port forwarding.
When the port forwarding works, the HTTP API of Diafaan SMS Server can be used from your web server with the public IP number of your internet connection, e.g. http://18.104.22.168:9710.
I create local diafaan server and web service are ok. I can send sms via http://localhost:9710/http/send-message?....
But my plan is create form in my website and let user to fill their data and phone number.
After submit their forms, I want to send data via sms to their phones.
So how can I call from my website to http://localhost:9710.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 460
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 822