![]() |
![]() ![]() ![]() ![]() |
|
The HTTP interface enables client-side applications to automatically download the SMS messages received by the Streetdata gateway under a Dedicated, Hosted or High-speed two-way messaging service plan. The logs are transferred in delimited text format, suitable for processing by means of scripting languages or for immediate import into most common spreadsheet or database programs. Usage: A client-side application can access the HTTP interface by sending a HTTP GET request to the URL:
The supported parameters are:
The login parameters are self-explanatory. The "last read" pointer option is provided for the purpose of minimising download times by preventing multiple downloads of the same message, while avoiding the risk of missed messages due to accidental or unfinished reads. An application will typically supply the unique ID of the last successfully read message (see below) as the l parameter in order to request messages newer than the last read. The output of the twpro.php script consists of delimited rows, one per message, with the following layout:
Example query:
16006,2003-01-01,00:02:03,01,61419286443,61418706721,"Hello Again, World" Download the complete HTTP interface documentation in PDF format. See also:
| |||||||||||||||||||||||||||||
|
|
||
|
© 1999-present by streetdata pty ltd - all rights reserved |