Unauthorized error

Unauthorized error SearchSearch
Author Message
Rahul Khanna
New member
Username: Rahulkhanna

Post Number: 2
Registered: 04-2010
Posted on Wednesday, April 14, 2010 - 09:53 pm:   

hi.. i tried to send sms using the the local loopback address 127.0.0.1. I'm running the webpage from my own pc, but i got an error 401 saying that it is an unauthorized access. i don't know how to resolve this error.
I build the web application and am running it on IE
can anybody please suggest some solution..
Rahul Khanna
New member
Username: Rahulkhanna

Post Number: 3
Registered: 04-2010
Posted on Wednesday, April 14, 2010 - 09:57 pm:   

how do i apply user name and password to the nowsms gateway in the url?
and is there any other mean to do that?

i supplied this url to the web application
http://admin:admin@127.0.0.1:8800?PhoneNumber=+919711522756&Text=hjtjtyjytrjj

it is not working and i'm still getting the unauthorized error 401
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2009
Registered: 08-2008
Posted on Friday, April 16, 2010 - 07:45 pm:   

The "http://admin:admin@server" only works with some HTTP clients. This syntax is really intended for FTP, but some HTTP clients do support it.

For widest compatibility, include the username and password as URL parameters ... &user=username&password=password

http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/url_pa rameters_for_sending_messages.htm

--
Des
NowSMS Support