Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function lichess_login(user,pwd) {
- var request = $.ajax({
- headers: { "Accept" : "application/vnd.lichess.v1+json" },
- type: 'POST',
- url: "https://lichess.org/login",
- dataType: "jsonp",
- jsonp: "augh",
- username: user,
- password: pwd
- });
- request.done(function(data){ console.log( "ZUG DATA: " + data ); });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement