Thank you for the specification of the HTTP API of your SMS service provider.
As I mentioned in my first reply, the HTTP POST call will not work in the HTTP Gateway of Diafaan SMS Server because this call requires an XML formatted message content, and that is not supported in the generic HTTP options of the HTTP Gateway. The only way to implement this in Diafaan SMS Server is using a script.
You can use the HTTP GET call that is mentioned in the specification with Diafaan SMS Server. To use the HTTP API of your SMS service provider in the HTTP Gateway, set the 'Web page' to 'http://transport.wsoft.ru' and the 'HTTP query' to:
(perhaps without the 'servicenumber=1234&operator=MTS&operator-id=100&' part)
I don't fully understand your question. Can you rephrase the question and provide more background information?
How to use if give this is
http POST request
This is a test message
The basic- and full editions of Diafaan SMS Server have an HTTP Gateway option to send simple HTTP GET or POST requests to an SMS service. However, according to the curl example script from your SMS service provider, it uses an XML formatted message content and that is not supported by the HTTP Gateway in Diafaan SMS Server.
The only way to add support for this XML based HTTP API is to use the Scripting Gateway in Diafaan SMS Server and write your own custom script for it. The Scripting Connector supports scripts in C# or Visual Basic.NET.
How to connect to WINGS SMS Gate
Content provider give this parametr
$url = "http://188.8.131.52:8081/re-smsbroker";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml;charset=UTF-8'));
curl_setopt($ch, CURLOPT_POSTFIELDS, "$input_xml");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 396
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 620