I have the following function on the front end which makes a POST request to a back end route with a formData object that contains name and image:
async creat