how to send user credentials to a protected restful webservice
Joined: Dec 02, 2009
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.