NuxtN
Nuxt3y ago
2 replies
TechieStephen

$fetch

How do I add FormData (containing uploaded images) in a $fetch post request? I have gone through the documentation nothing was said about this.
I just want to send the image to the backend api to upload it. I usually use axios for this but the nuxt offical documentation recommends using $fetch.
Was this page helpful?