I have fast API. There is a method for uploading an image using formdata and a method that can return data image/* to me.
I save the token to the nextjs server. All communication with the api happens from the nextjs server.
Please tell me how to organize this. I can't upload the image back.
Heading issues all the time.