How to send images with axios using flask-python?

Solution
axios.post('/send_image',{file: 'test.jpeg'},{ headers: {
   'Content-Type': 'multipart/form-data'
  }}
}).then(function (response) {
    console.log(response.data);
});