The application can either include the user name and password in an “Authorization:” header using “HTTP Basic Authentication”, or it can include the “User” and “Password” parameters in the URL request. This user name and password refers to an account defined on the “SMS Users” configuration dialog. If authentication is enabled for the web interface, any application submitting a message must supply a user name and password for access. For example, to send an SMS to +447778001210, use the following URL format: If the international phone number format is used, note that you must substitute “%2B” for the “+” character, because of URL escaping restrictions. Use either the local phone number format, or the international phone number format (your network provider may or may not allow you to send to international phone numbers). Substitute the phone number that you wish to send the SMS message to for the “xxxxxxxx” in the “PhoneNumber” parameter. (Note: 127.0.0.1 is a local loop back address that can be utilized when you are connecting to the gateway from the same computer.)įor 8800, please substitute the port number that the gateway is configured to use. To send an SMS text message via HTTP, use the following URL format: įor 127.0.0.1, please substitute the IP address or host name assigned to your gateway PC. Other sections of this document explain how to send SMS text messages via PHP, Java and a command line interface. This section describes how to send a text message programmatically via URL parameters. To send a text SMS message via a menu driven interface, please see the help section titled Web Menu Interface.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |