how to send axios delete to the backend reactjs

JavaScript
axios.delete(URL, {
  headers: {
    Authorization: authorizationToken
  },
  data: {
    source: source
  }
});
Source

Also in JavaScript: