Advertisement
Guest User

Untitled

a guest
Apr 13th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. $.ajax({
  2. type: "GET",
  3. url: url,
  4. dataType: 'json',
  5. crossDomain: true,
  6. username: 'username',
  7. password: 'password',
  8. headers: {
  9. 'Access-Control-Allow-Origin': '*'
  10. },
  11. success: function(response) {
  12. console.log(response);
  13. }
  14. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement