Authentication | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through May 12, 2004 ⬆ |
◄ ► |
Author | Message | |||
Dhiraj Unregistered guest |
How do you pass username and password credentials to the web interface? I have been struggling with the following syntax: http://username:password@serverip:8800?PhoneNumber=1234567890&Text=Some+Message Basically im trying to execute this URL from within an application, and therefore the username and password should automatically be fed in. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2324 Registered: 10-2002 |
Hi, Not all HTTP application environments support this syntax. Instead, use the following format with NowSMS, and it will work regardless of the application environment: http://serverip:8800?PhoneNumber=1234567890&Text=Some+Message&user=username&pass word=password | |||
vishal sharma Unregistered guest |
Hi Bryce I tried using your specificed format and it doesnt work. It accepts any username and any password and it submits the messages. Also how do we set a configurable SenderID. Like currently the deafult SenderID whcih I have specificed in the SMPP setting works. How do we have a configurable senderID which the user can define according to his needs via a HTTP URL ? Thanks Vishal | |||
vishal sharma Unregistered guest |
Hi Bryce It works perfectly well.Thanks Vishal | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2350 Registered: 10-2002 |
Hi Vishal, From your follow-up message, it sounds like you got it working after some experiments. If NowSMS accepts any username/password, then this is an indication that "Require authentication for web interface" is not checked on the "Web" page of the NowSMS configuration dialog. If that setting is checked, NowSMS should only accept username/password combinations that are defined in the "SMS Users" dialog. When submitting a message, you can set the "Sender" address by using a "&Sender=xxxx" parameter on the URL that submits the message. As long as "Allow sender address override" is checked in your SMSC definition, then NowSMS will submit this sender address to the SMSC. (Some SMSCs will not allow you to override your sender address.) -bn |