Multitech SF100-G User Manual For System Administrators page 69

Turnkey sms server
Hide thumbs Also See for SF100-G:
Table of Contents

Advertisement

4.1.2 POST Packet Format Without Authentication
POST /cgi-bin/postquery.cgi HTTP/1.1
HOST: 192.168.2.2:80
User-Agent: SMSFinder/1.20
Accept: text/xml, application/xml,
application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
application/msword, application/vnd.ms-powerpoint, image/png, */*
Accept-Language: en-us; en;q=0.50
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1, utf-8;q=0.7, *;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 346
XMLDATA=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22ISO-8859-
1%22%3F%3E%0D%0A%3CMessage%20Notification%3E%0D%0A%3CSenderNumber%
3E%2B919844895692%3C%2FSenderNumber%3E%0D%0A%3CDate%3E08%2F03%2F
14%3C%2FDate%3E%0D%0A%3CTime%3E12%3A55%3A54%3C%2FTime%3E%0D%0
A%3CMessage%3ETest%0D%0A%0D%3C%2FMessage%3E%0D%0A%3C%2FMessage
%20Notification%3E%0D%0A
Note:
If authentication is disabled, POST DATA contains XMLDATA=[urlencoded(XML)]
If authentication is enabled, POST DATA contains username=user&passwd=user&
XMLDATA=[urlencoded(XML)]
The server authenticates the message from SMSFinder using the username/password
XML data
The SMSFinder accommodates two messages at the maximum in one POST message.
The SMSFinder waits for an OK response from the HTTP server; it will timeout in 30
seconds.
Multi-Tech Systems, Inc. SMSFinder User Guide for System Administrators (Document S000451B)
<?xml version="1.0" encoding="ISO-8859-1"?>\r\n
<Message Notification>\r\n
<SenderNumber>6754535645</SenderNumber>\r\n
<Date>08/03/10</Date>\r\n
<Time>09:05:30</Time>\r\n
<Message>Here is a test message</Message>\r\n
</Message Notification>\r\n
OR
<?xml version="1.0" encoding="ISO-8859-1"?>\r\n
<Message Notification>\r\n
<SenderNumber>8767654534</SenderNumber>\r\n
<Date>08/03/07</Date>\r\n
<Time>08:07:20</Time>\r\n
<Message>Test message 1</Message>\r\n
</Message Notification>\r\n
<Message Notification>\r\n
<SenderNumber>9876754534</SenderNumber>\r\n
<Date>08/03/13</Date>\r\n
<Time>10:10:36</Time>\r\n
<Message>Test message 2</Message>\r\n
</Message Notification>\r\n
Appendix A – Application Programming Interface (API)
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smsfinder sf100-g

Table of Contents