Uoload image to strapi

Hello I created a collection type for products in the Strapi project so that I can send a new product with a form from the reactjs project and it will be saved in this collection type. The problem I have is that all the values type ​​of the form are sent and saved in the collection type and in the entity I want. It is possible with any type of data such as string, number and bool, but the photo I want to upload is not sent in the img file and is not saved in the desired entity. If there is a sample that I can see and you can guide me, I would be very grateful

This topic has been created from a Discord post (1259518231798874142) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Hi, you would have to make post request to your strapi server with the file/s than save the returned data to your collection, so when uploading files is 2 step process