daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest Jun 4th, 2017 64 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.         username: user,
  8.         password: pwd
  9.     });
  10.     request.done(function(data){ console.log( "ZUG DATA: " + data ); });
  11. }
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