HTTP request | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through September 15, 2003 ⬆ |
◄ ► |
Author | Message | |||
rifdi |
"An HTTP request returns a simple text response to the gateway by returning content of the MIME type “text/plain”." (found at 2 way sms & mms section) Got this statement from your manual. Could you please elaborate further and provide an example? Do i specify the gateway ip and port in the http request? how would the command look like? The part where nowsms explains how to call a subsms application via http is quite clear, but sending the output of the subsms application back to the gateway is not. Thanks. Rifdi. | |||
rifdi |
I keep getting the same sms msg reply from the gateway. It says.. " Command not completed. Request returned invalid content type: text/html " i'm using a http request to process the incoming msg.. its written in coldfusion scripting. anyone has the same problem? | |||
Bryce Norwood - NowSMS Support (Bryce) |
Hi, I think I saw your response via e-mail indicating that you had got the problem sorted. If not, please reply back. -bn | |||
rifdi |
Yup, finally got it working at 3 am in the morning..! Just to share with other forumers here, i'm developing the sms engine(which processes the incoming sms msg) in coldfusion and i'm using a nokia 7110 phone as a gsm modem. To not get the error msg "Request returned invalid content type: text/html", the file that is processing the request must be clean of 'white spaces' and secondly, the file must be forced to display the result in plain text. Cleaning up white spaces is simple by downloading a free custom tag from macromedia developers exchange. there are a few available, just implement any that suit your needs. To force CF to output the file content in plain text, drop a cfcontent tag on top of the page and set the type to text/plain. Thats about it. NowSMS is really a great app! | |||
sanjith |
I Installed your 60 Days trial version software. I want to know the exact details and samples to configure HTTP SMSC configuration settings. do i need to create an user account with now sms to use the service? Becuase the HTTP SMSC configuration settings are asking for username and password fields. Can i use the same username and password for mms / sms / wap. | |||
Bryce Norwood - NowSMS Support (Bryce) |
Sanjith, You need an account with an SMS service provider if you want to send SMS messages via a service provider using one of the internet protocols. We do not provide an SMS service offering, only a software product. -bn |