and some of other file as well.
Read moreHow do I add an image to API in react native?
To handle image uploads we need to set the encoding type to multipart/form-data which means we need to format our data differently. Thus the createFormData function. This function will go ahead and take the image we selected and add it to the photo field of the form data with the required info.5 Oca 2022
Read more