<div class="container"> <div class="body"> <div>I have a RESTful web service </div> <div></div> <div>While consuminig the web service, when using POST method I am passing the user credential as given below.</div> <div> httpRequest.Credentials = new NetworkCredential("username",
"password"); </div> <div></div> <div>How can I retrieve this username and password in the CRUD operations of the RESTful web service( httphandler class)</div> <div>to compare them with the database. I have the following function for READ operation. </div>
<div></div> <div> private void READ(HttpContext context)</div> <div> {</div> <div> </div> <div> }</div> </div> <input type="hidden" id="284ff607-c076-42af-a06b-faff519ac46c_attachments" /></div> <div class="abusive"></div>
souminiram
0 Points
1 Post
Checking user credential in REST web service
Jan 27, 2012 04:26 PM|LINK
web