Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var settings = {
- "async": true,
- "crossDomain": true,
- "url": "http://new.shpp.me:9345/api/authenticate",
- "method": "POST",
- "headers": {
- "content-type": "application/x-www-form-urlencoded",
- "cache-control": "no-cache",
- "postman-token": "77b167e6-4535-1647-4cf1-b7c569f960cc"
- },
- "data": {
- "username": "admin",
- "password": "adminyasha"
- }
- }
- $.ajax(settings).done(function (response) {
- console.log(response);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement