Interceptor jQuery otomatis dengan token

$.ajaxSetup({
    beforeSend: function (xhr) {
        xhr.setRequestHeader('Authorization', 'Token 123')
    }
});
Combative Crossbill