Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. const request = require('superagent');
  2. const agent = request.agent();
  3. agent
  4. .post(url)
  5. .type('form')
  6. .send(
  7. {
  8. username:"",
  9. password:"^,W^.6ck",
  10. redirectUrl: "''",
  11. sso: "true"
  12. })
  13. .then(res => console.log(res.headers))
  14. .catch(err => console.log(err))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement