- Product Manual
- Introduction
- Installation Guide
- User Guide
- Developers Guide
- Tutorials
- ASP SMS API
- PHP SMS API
- HTTP SMS API
- Send message
- URL template
- Multiple SMS
- Browser redirect
- Character sets
- HTML response
- Validity period
- Receive message
- Billing methods
- Urlencode
- 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
- SQL SMS API
- C# SMS API
- AJAX SMS API
- Delphi SMS API
- Cpp SMS API
- Java SMS API
- VB.NET SMS API
- Python SMS API
- Perl SMS API
- TCL/TK SMS API
- Coldfusion SMS API
- VB 6 SMS API
- Examples and Solutions
- Appendix
- SMS FAQ
- Feature list
- Commercial Information
- Search
RECOMMENDED FOR YOU:
SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android
C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code
PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website
SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android
C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code
PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website
SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
Ozeki NG SMS Gateway
How to redirect the browser with the http sms api?
This example posts an SMS message to the SMS gateway, then redirects the browser to an url. The url in the example is http://www.yourdomain.com
How to redirect the browser after sms submit?
To redirect the borwser with the http api- Create the HTTP sms api URL prefix
- Add the sendmessage parameter to send sms
- Append the username and password
- Add the sms recipient
- Type the sms text as normal and use urlencoding
- Set the redirect parameter
- Submit the sms
- Watch the browser jump to the requested page
Example request:
http://127.0.0.1:9501/api?action=sendmessage&username=admin&password=abc123&
recipient=06203105366&messagetype=SMS:TEXT&messagedata=Hello+World&redirecturl=http%3A%2F%2Fwww.yourdomain.com
Example response:
HTTP/1.1 302 Found Cache-Control: no-cache, must-revalidate Pragma: no-cache Content-Length: 440 Content-Type: text/xml Last-Modified: Wed, 13 Feb 2008 23:19:47 GMT Location: http://www.yourdomain.com Server: OzekiNG/3.0.1 Microsoft-HTTPAPI/1.0 Date: Wed, 13 Feb 2008 22:19:46 GMT <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE response PUBLIC "-//OZEKI//DTD XML 1.0//EN" "http://192.168.91.10:9501/DTD/response.xml"> <response> <action>sendmessage</action> <data> <acceptreport> <statuscode>0</statuscode> <statusmessage>Message accepted for delivery</statusmessage> <messageid>ROTTTZFS</messageid> <recipient>06203105366</recipient> </acceptreport> </data> </response>
More information
- HTTP SMS API
- HTTP SMS API - sendmessage method
- HTTP SMS API - URL template
- Submitting multiple SMS over HTTP Post
- Supported character sets
- HTTP SMS API - Example #2 - Html response
- HTTP SMS API - receivemessage method
- HTTP SMS API - billing method
- FAQ of the Ozeki NG SMS Gateway