How to add token to the head of http?

tokenhttp
  $axios.onRequest((config) => {
    if (!config.headers.common) {
      config.headers.common = {};
    }
    config.headers.common.token = config.headers.common.Authorization || "";

    return config;
  });

May.29,2021

service.interceptors.request.use(config => {
  // Do something before request is sent
  if (store.getters.token) {
     config.headers[''] = store.getters.token; 
  }
  return config;
}, error => {
  // Do something with request error
  //console.log(error); // for debug
  Promise.reject(error);
})

this.axios.interceptors.request.use (function (config) {

config.headers['token'] = yourToken  
return config;

}, function (err) {

   return Promise.reject(error);

});


headers: {'X-Requested-With': 'XMLHttpRequest'},
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31b0a-2b530.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31b0a-2b530.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?