Advertisement
Lucky134Lucky

Untitled

Mar 22nd, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. var settings = {
  2. "async": true,
  3. "crossDomain": true,
  4. "url": "http://new.shpp.me:9345/api/authenticate",
  5. "method": "POST",
  6. "headers": {
  7. "content-type": "application/x-www-form-urlencoded",
  8. "cache-control": "no-cache",
  9. "postman-token": "77b167e6-4535-1647-4cf1-b7c569f960cc"
  10. },
  11. "data": {
  12. "username": "admin",
  13. "password": "adminyasha"
  14. }
  15. }
  16.  
  17. $.ajax(settings).done(function (response) {
  18. console.log(response);
  19. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement