Products
Ozeki 10
Apps
Chat
SMS Gateway
Quick Start Guide
SMS with Client Software
HTTP API
Get Started
HTTP API Tester
Send message
URL template
Multiple SMS
Browser redirect
Character sets
HTML response
Validity period
Receive message
Billing methods
URL encode
Select operator
Operate with single message
Query the addressbook
Operations with message folders
Examples
User handling
Service Provider Connection Handling
Reporting API
Dynamic SMPP parameters
SMS from/to Database
PHP SMS API
Solutions
C# SMS API
VB.NET SMS API
SQL Logging
System Database
Robot Controller
Softphone
PBX
Connections
Installation guide
Terms and Definitions
HTTP API
SMS
Bulk Messenger
Cluster
Developer tools
Robots
Hardware
Installer
Technology
Company


Ozeki 10 - SMS Gateway server software
Character sets Character sets | Validity period Validity period

HTTP API - HTML response

This example shows you the HTML response format when you post two SMS messages and you specify the continue url. The html response format is invoked by adding the "responseformat" parameter to the URL. Note that the recipient parameter contains two telephone numbers separated by a colon. The first telephone numbers is written using the international telephone number format, which means it starts with a plus sign and a country code. The URL also contains a parameter called "continueurl". This parameter carries the urlencoded URL of www.yahoo.com.

Example request:

http://127.0.0.1:9501/api?action=sendmessage&username=admin&password=abc123&
recipient=%2B4412345678,06203105366&messagetype=SMS:TEXT&messagedata=Hello+World&
responseformat=html&continueurl=http%3A%2F%2Fwww.yahoo.com

Example response:

HTTP/1.1 200 OK
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-Length: 370
Content-Type: text/html; charset=utf-8
Last-Modified: Wed, 13 Feb 2008 23:32:56 GMT
Server: OzekiNG/3.0.1 Microsoft-HTTPAPI/1.0
Date: Wed, 13 Feb 2008 22:32:56 GMT

<HTML>
<HEAD>
   <TITLE>SMS</TITLE>
<BODY>

Status code: 0<br>
Status message: Message accepted for delivery<br>
Message ID: ZLBTLETB<br>
Recipient: +4412345678<br>
<br>
Status code: 0<br>
Status message: Message accepted for delivery<br>
Message ID: WSDFIRZI<br>
Recipient: 06203105366<br>
<br>
<a href='http://www.yahoo.com'>Click here to continue</a>

</BODY>
</HTML>

Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Products > Ozeki 10 > Apps > SMS Gateway > HTTP API > Send message > HTML response
Legal | Privacy policy | Terms of use
Page: 5672 | Login | 3.95.131.97