A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Sockets and Internet Protocols
Author
Authenticating with http connection ?
Deepti Bhatia
Greenhorn
Joined: Oct 19, 2006
Posts: 25
posted
Nov 20, 2008 11:44:00
0
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
posted
Nov 24, 2008 19:15:00
0
Found the solution to this.
Please close this topic.
Regards,
Nitesh Kant
Bartender
Joined: Feb 25, 2007
Posts: 1638
I like...
posted
Nov 25, 2008 04:15:00
0
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:
jrebel
subject: Authenticating with http connection ?
Similar Threads
Only [auth-method] FORM use session tracking ?
java.io.IOException: Server returned HTTP response code: 401 for URL:
X11GraphicsEnvironment
HTTPS Client Authentication
granularity of http connection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter