| Author |
how to send user credentials to a protected restful webservice
|
saipraneeth nallapareddy
Ranch Hand
Joined: Dec 02, 2009
Posts: 159
|
|
hello ranchers,
i am trying to get the data from a restful webservice which is running using a java client program. I am able to connect to it and get the data, but the limitation in my code is that it can't connect to the restful endpoint which needs authentication. I h've tried search for this over online but couldn't get a proper clue. Can any one help me out.
The intention is to pass the username and password to the rest url where the authentication is required.
the two types of approaches i h've made is
|
 |
H Paul
Ranch Hand
Joined: Jul 26, 2011
Posts: 299
|
|
If this help http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html
Ask the restful web service provider for the type/kind of authentication needed.
|
 |
 |
|
|
subject: how to send user credentials to a protected restful webservice
|
|
|