SHARE
TWEET

Untitled

a guest Mar 20th, 2016 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. http://localhost:8838/validatelogin?username={username}&Password={password}&userid={userid}
  2.    
  3. var client = new RestClient("http://localhost:8838/validatelogin");
  4. var request = new RestRequest("username={username}&Password={password}&userid={userid}", Method.POST);
  5. request.AddParameter("userName", "username", ParameterType.UrlSegment);
  6. request.AddParameter("password", "password", ParameterType.UrlSegment);
  7. request.AddParameter("userid", "1234", ParameterType.UrlSegment);
  8.  
  9. var response = client.Execute(request);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top