|
|
| sending an sms via the http protocol interface |
The Streetdata HTTP interface provides a low-interaction, low-bandwidth
alternative for fast automated SMS message transmission from software
applications and utility programs.
Usage:
Each messaging job (consisting of one message text and one or more
recipient numbers) can be submitted by sending a HTTP POST or HTTP GET
request to the URL:
https://www.streetdata.com.au/admin/msg.php
(http is also supported, but its use is discouraged for obvious security reasons)
The supported parameters are:
- u and p - Account identification (username and password)
- d - Destination number(s)
- m - Message text
- o - Optional message origin address
Example job description:
u=7357&p=secret&d=0412000001,0419000002&m=Example
Explanation of parameters:
- u (mandatory) - Your Streetdata UserID
- p (mandatory) - Your Streetdata password
- d (mandatory) - A number or a comma-separated list of numbers that the message
will be sent to
- m (mandatory) - The message text, 1-160 GSM characters
- o (optional) - The message origin address, maximum 11 characters
or maximum 16 digits.
Server responses:
- FATAL (optional error text) - The HTTP interface is not available
due to technical reasons
- ERROR (optional error text) - The message was not accepted for
delivery
- OK (number) (sequence number) - The message was accepted for
delivery
Important notes:
- The message origin feature is only available to selected accounts.
Contact Streetdata to enable this feature for your account
Download the
complete HTTP interface documentation in PDF format.
See also:
| |