Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type: "GET",
- url: url,
- dataType: 'json',
- crossDomain: true,
- username: 'username',
- password: 'password',
- headers: {
- 'Access-Control-Allow-Origin': '*'
- },
- success: function(response) {
- console.log(response);
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement