Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type: "GET",
- dataType: "json",
- contentType: "application/json",
- username: "user",
- password: "admin",
- url: "http://localhost:8080/projects/1",
- xhrFields: {
- withCredentials: true
- },
- success: function(data){
- console.log(data);
- }
- });
- Failed to load resource: the server responded with a status of 401 ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement