i want to upload the selected image to my localhost directory by using javascript. any idea how can I do it. first I take the form value and send it to API using FETCH API.<