dtalley11

cheatsheet

Oct 7th, 2013
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Client: *client connects*
  2. Server: {response: 200/401} # 200 to skip Authentication entierly, 401 to request Authentication
  3. Client:{action: 'authenticate', user: { account_name: 'C0deMaver1ck', password: 'CorrectHorseBatteryStaple'}}
  4. Server: {response: 200/402/409} # 200 if the credentials were good, 402 for bad user/pass 409 for duplicate login
  5. Server: {action: 'msg', message: 'Welcome to DTALLEY11NET, C0deMaver1ck'}...
Advertisement
Add Comment
Please, Sign In to add comment