Sending SMS Message through Java Program | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 03, 2004 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
Hi Guys, Im using a Java program to connect to MMSC Server/NowSMS but getting Error 401.I believe this error is due to authorization. do i have to send username and password along with the URL? i cannot use browser. thanks in advance, Mark | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3427 Registered: 10-2002 |
Hi Mark, Yes. You need to either build an "Authorization:" header ... or include "&user=username&password=password" in the URL request. (Where the username and password match an account defined in the "SMS Users" page.) You can also disable authentication for the web interface on the "Web" page of the NowSMS configuration dialog, but I don't recommend that in most cases. -bn |