Question about axiosExtras

Hello, what is axiosExtras??? Cannot find any documentation on the web.Thank you

Hi @improved_termite, these are other helper functions and classes exported by axios package besides the default axios instance (e.g., AxiosHeaders, isAxiosError, etc)

Thank you. And how to use the toFormData then?

strangely axios seems to not have documented this function. But you should be able to use it to convert objects to FormData:

const formData = $$.axios.toFormData({"myField":"myValue"})

const response = await $$.[axios.post](http://axios.post)("/...", formData, {
  headers: { ... }
})