Skip to content

Instantly share code, notes, and snippets.

@t-rekttt
Created May 24, 2018 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t-rekttt/9b9fcf03185eb3fb37baabe0c44eacdd to your computer and use it in GitHub Desktop.
Save t-rekttt/9b9fcf03185eb3fb37baabe0c44eacdd to your computer and use it in GitHub Desktop.
public static Task<User> Login(string username, string password)
{
var variable = new { loginId = username, credential = password };
return APIService.Post<User>("login/", variable, false, false);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment