Difference between revisions of "Send HTTPS"

From SMS Wiki
Jump to: navigation, search
(New page: For quick implementation you can use HTTPS method to send SMS messages. Simply create a string similar to the one below and send. The downside is that you will have no control over http...)
 
Line 1: Line 1:
 +
 +
== Send SMS from your application using HTTPS ==
 +
 +
 
For quick implementation you can use HTTPS method to send SMS messages. Simply create a string similar to the one below and send. The downside is that you will have no control over  
 
For quick implementation you can use HTTPS method to send SMS messages. Simply create a string similar to the one below and send. The downside is that you will have no control over  
  
  
https: // secureapi.upsidewireless.com/soap/SMS.asmx/Send_Plain?token=w222222-8e4b-405b-998c-a580bf593b76&signature=444444444/yvg6bwEHqBhlc&recipient=17785550767&message=Hello World&encoding=Seven
+
'''https: // secureapi.upsidewireless.com/soap/SMS.asmx/Send_Plain?token=w222222-8e4b-405b-998c-a580bf593b76&signature=444444444/yvg6bwEHqBhlc&recipient=17785550767&message=Hello World&encoding=Seven'''
  
 
Explanation of parameters
 
Explanation of parameters

Revision as of 16:18, 6 May 2011

Send SMS from your application using HTTPS

For quick implementation you can use HTTPS method to send SMS messages. Simply create a string similar to the one below and send. The downside is that you will have no control over


https: // secureapi.upsidewireless.com/soap/SMS.asmx/Send_Plain?token=w222222-8e4b-405b-998c-a580bf593b76&signature=444444444/yvg6bwEHqBhlc&recipient=17785550767&message=Hello World&encoding=Seven

Explanation of parameters Token and signature are used for authintication. You need to obtain token and signature only once. Here is how

recipient - number to which you are sending the message in International format. For example, a US number would be 12125555555

Message - text of message you want to send (max 160 characters)

encoding: Use Seven for ASCII, Sixteen if you are sending UNICODE text (in this case max text lenght is 70 characters)



Result string will be similar to this:

<SMSSendResult>

<isOk>true</isOk>

<trackingId>MTID355136276238353223</trackingId>

<number>17788580767</number>

<convertedNumber>+17788580767</convertedNumber>

<deferUntilOccursInThePast>false</deferUntilOccursInThePast>

<messageIsEmpty>false</messageIsEmpty>

<tooManyMessages>false</tooManyMessages>

<invalidCountryCode>false</invalidCountryCode>

<isBlocked>false</isBlocked>

<balanceIsZero>false</balanceIsZero>

<invalidCarrierCode>false</invalidCarrierCode>

</SMSSendResult>