HTTP 401

HTTP 401 SearchSearch
Author Message
Anonymous
 
Posted on Tuesday, March 15, 2005 - 01:59 am:   

Hi,

I have configured NowSMS v5.51 with the Sierra Wireless Aircard 750. I am able to receive MMS messages from a mobile phone and NowSMS can also forward these messages to my application using a MMSC Route which I created.

My problem is when I post a message to NowSMS using my program, I get a 401 (Authorization) error code back. However, if I use the NowSMS Web Interface to send the same MMS, it goes through. I've attached the log files below.

Thanks for your help.
Ashwin
application/zipSuccess Condition
Success.zip (360.4 k)
application/zipFailure Condition
Failure.zip (359.7 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4157
Registered: 10-2002
Posted on Tuesday, March 15, 2005 - 07:54 pm:   

Hi Ashwin,

You need to define an "MMSC VASP" account for your application.

Modify your HTTP POST to either include an "Authorization:" header that supplies basic authentication credentials for the "MMSC VASP" account that you create ... or ... modify your HTTP POST URL to include the "MMSC VASP" account credentials in the following format: /MM7/vaspaccountname=password

-bn