Advertisement
Guest User

Untitled

a guest
Jun 4th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. function lichess_login(user,pwd) {
  2. var request = $.ajax({
  3. headers: { "Accept" : "application/vnd.lichess.v1+json" }
  4. type: 'POST',
  5. url: "https://lichess.org/login",
  6. dataType: "jsonp",
  7. jsonp: "augh",
  8. username: user,
  9. password: pwd
  10. });
  11. request.done(function(data){ console.log( "ZUG DATA: " + data ); });
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement