Stijn
0
Q:

jquery basic authenticated get user

$.ajax({    xhrFields: {    withCredentials: true    },     beforeSend: function (xhr) {        xhr.setRequestHeader('Authorization', 'Basic ' + btoa('myuser:mypswd'));     },     url: "http://www.example.org/" });
0

New to Communities?

Join the community