SHARE
TWEET

Untitled

a guest Jun 4th, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
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