eader = $('meta[name="_csrf_header"]').attr('content');
        var token = $('meta[name="_csrf"]').attr('content');
        config.headers = {...config.headers, [header]: token};
      }
      return config;
    }, function (error) {
      return Promise.reject(error);
    });
    request.interceptors.response.use(function (response) {
      return response;
    }, function (e) {
      console.log(e);
      var data = e.response.data;
      var status = e.response.status;
      var statusText = e.response.