Simple HTTP SMS Msg send ??? HOW!

Simple HTTP SMS Msg send ??? HOW! SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 24, 2009 » Simple HTTP SMS Msg send ??? HOW! « Previous || Next »
Author Message
Andre Botelho
New member
Username: Abotelho

Post Number: 1
Registered: 04-2009
Posted on Thursday, April 23, 2009 - 12:04 pm:   

Hi, I have a application that uses a simple http based command to broadcast a SMS, for some reason I cannot sync it with this gateway, the command that I am using is : http://127.0.0.1:8800/?PhoneNumber=[MobileNum]&Text=[Msg] - where MobileNum = a simple mobile number with no + sign etc. Msg = "A simple txt msg". ps. it all works from the http portal without a problem so I know it works. in the log files, it looks like the command above. Can this be done ?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 686
Registered: 08-2008
Posted on Monday, April 27, 2009 - 06:20 pm:   

Hi,

I'd be curious to see what you see in the log files to see if there is something missing.

It would also be very helpful to know what the HTTP response is that you receive back from your request, as that should tell us why the message was rejected.

If you have a "+" character in the phone number, it needs to be URL escaped (%2B).

Aside from that, in most situations you also need to include user authentication. You can either build an "Authorization:" header, or the easy way is to include "&user=username&password=password" in the URL request. This username/password corresponds to an account name defined on the "SMS Users" list.

--
Des
NowSMS Support

Login Login / Register Logout Logout Search Last 30 Days Topics Topics