I need to send a binary file through axios post request-
let data= await axios.post(url, formDataObj,config)
here formDataObj is object of FormData and config is an object that contains headers for API
This is working fine for me But I want to use axiosInstance.request() for this instead of axios.post()
const response = await axiosInstance.request(reqObj);
how can i pass formData in it? what is the syntax for that?
Example code maybe helpful