Token Based Authentication

Good Day

Could someone tell me what do i do wrong?
I cannot Authenticate on Postman or own Javascript + Ajax

function firstLogin(email,password) {
var url = “http://192.168.xxx.xxx/api/method/login”;
$.ajax({
url: url,
headers: {
‘Authorization’:‘Basic QORtaW5ac3RyYXRvcjpFaW5AdGVsNTAwNA==’,
},
method: ‘POST’,
dataType: ‘json’,
success: function(data){
alert(data);
}
}).fail(function®{
alert(‘Failed!’);
});
}

Thank You

Albertus Geyser