Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RestRequest rest = new RestRequest(Method.POST);
- rest.AddParameter("username", MasterConfig._nowVideoUser);
- rest.AddParameter("password", MasterConfig._nowVideoKey);
- RestClient restClient = new RestClient("http://www.nowvideo.to/api-v2/auth.php?action=doLogin&username={username}&password={password}");
- var response = restClient.Execute(rest);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement