Upload Image File to Replit?

Hello
I'm trying to create a simple application that uses the camera to take a picture then display it and send it to a flask server running on replit


but the image won't be send and i get this error can you help me as i'm a beginner ?


That's my flask code to make sure that the server is running and image is received

Please provide a link to the API instructions for Replit

i don't know actually but when i tried to post an image using post man i found that the image was received like this

The general idea for my application is that i want to take image using camera , send it to a image description model on a server and get the description text back to use text to speech to read it out loud to the user

How did you send the picture using postman?
And how do you know how to do it using postman? Any link to the documentation?

Taifun

Actually i followed chatgpt steps to send the image like this:
I'm sorry, Its my first time creating an app and i'm just following the tutorials i find and chatgpt so i can't really understand well how to connect blocks together.

I also found that these are the sent headers for the image


Also i didn't find specific instructions for replit all the POST or GET requests have the same instructions.

Can anybody help me please?

without having some documentation about the RESTful API from that service unfortunately I'm not able to help, sorry, probably someone else can...

Taifun