SMS Submit (Single)

This POST operation is initiated by the external application, and the response is returned from the TEAM platform to the external application over the same HTTP/HTTPS session. When data has been entered into HTML forms is submitted, the form field names and values need to be encoded and sent to the server in an HTTP…

Image Description

This POST operation is initiated by the external application, and the response is returned from the TEAM platform to the external application over the same HTTP/HTTPS session. When data has been entered into HTML forms is submitted, the form field names and values need to be encoded and sent to the server in an HTTP request message using method GET or POST, The media type of data encoded this way is application/x-www-form-urlencoded.

Request

A valid submission format of a message:


POST  HTTP/1.0
Host: 
PORT: 
Content-type: application/x-www-form-urlencoded
Content-length: xx
Username=&password=&src=&dst=&msg=&dr=1

Samples

Sample HTTP request


POST sms/send_sms.php HTTP/1.0
Host: http://sms.textware.lk
PORT: 5000
Content-type: application/x-www-form-urlencoded
Content-length: 8
username=testuser&passward=Test123&src=TEXTWARE&dst=94774044339&msg=
Test+msg&dr=1

Was this article helpful to you?

Yes No

Related Articles