aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Authenticating with http connection ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Authenticating with http connection ?" Watch "Authenticating with http connection ?" New topic
Author

Authenticating with http connection ?

Deepti Bhatia
Greenhorn

Joined: Oct 19, 2006
Posts: 25
Hi,

Am trying to connect to a server with httpurlconnection. The connection fails with HTTP 401 since authentication is required.

Could you tell how do we authenticate, cannot locate an API call for authentication.

Regards,
Deepti Bhatia
Greenhorn

Joined: Oct 19, 2006
Posts: 25
Found the solution to this.

Please close this topic.

Regards,
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Found the solution to this.


It will be nice if you can post the solution also here so that anyone else bumping into this topic will get the solution!


apigee, a better way to API!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Authenticating with http connection ?