|
||||||||||||||||||||||||||||||||
Uploading ringtones using HTTPWith the It's Arrived service you can use a web URI to upload a RTTTL or RTX ringtone string to our library.ServersWe have multiple servers, two of which are available for public use, so that in the event of an Internet failure you should still be able to connect to us. The two servers are www.csoft.co.uk and www2.csoft.co.uk. Wherever you see www.csoft.co.uk you can use www2.csoft.co.uk. At least one of these servers should always be available and for maximum reliability you may wish to write your application to use www2.csoft.co.uk should www.csoft.co.uk be unavailable for any reason. SecurityYou can use an HTTP, or HTTPS, POST to send your messages
- but clearly the latter provides better security. You may
use a GET rather than a POST, but GET has greater security
issues, since you can very easily see the entire message
including your Username and PIN on the URI line and suffers
from truncation limitations. POST header fieldsWhen using the POST command you must specify the correct HTTP headers. In particular, the following must be set; Host: www.csoft.co.uk EncodingSee Encoding Characters for information about how to encode messages that contain certain special characters.To upload a RTTTL or RTX string
Example - Using an RTX or RTTTL string (note that the body line has been broken for formatting, but that this is not an actual line break) POST /uploadringtone HTTP/1.1 ResponseThe Server will only respond back with either a library number, if successful,LibraryNumber=71234 or an error description, if unsuccessful. As there can be more then one error in the description, a semi-colon is used as a separator.Error=song name in rtttl string is missing;Royalty value required Dealing with Errors
Appendix
|
||||||||||||||||||||||||||||||||
| SMS This page was last modified at 10:52 UTC on Tuesday June 09, 2009 |