Support forum
Hello Kokogyi,
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://123.123.123.123:9710.
Regards, Henk
6:09 pm
Hi,
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: 529
Currently Online:
4 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 680
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1156
Posts: 3946
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1511