Now SMS gateway returns a web page

Now SMS gateway returns a web page SearchSearch
Author Message
chamila piyasena
New member
Username: Buffe

Post Number: 1
Registered: 10-2009
Posted on Monday, October 26, 2009 - 01:30 pm:   

Hi,
I'm using my own command line application with nowsms to send sms. but once I sent an sms nowsms gateway sent a web page to my application which couldn't decode it. can I disable this page coming?
Thank you
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1383
Registered: 08-2008
Posted on Monday, October 26, 2009 - 05:14 pm:   

Hi,

That is a good point ... we should have an option to not return the HTML response, and use a format friendlier to applications.

I will put in that request for a future version.

For now, my suggestion is to either ignore the response ... or to verify that the submission was successful, parse the response looking for "MessageID=". (Some of our example scripts have done this type of parsing. I've got a PHP example of this parsing, but not a command line scripting example.)

--
Des
NowSMS Support