Hello.
I have a problem uploading images. I have a circle image with path (uploaded local file).
I've created a PHP api that allows me to send the image to my remote o2switch server. The problem I'm having is that I have to retrieve the name of the image that was uploaded.
After saving the image on my server via the php api, I returned the image name via json from the api. But I can't hear my api return to FF after the action. I've deduced that it's because the body of my APICALL is in MULTIPART instead of JSON.
My second option is to retrieve the image name and extension from FF before the image is sent to my remote server.
I don't know how to do this.
Please help me.
If there's another way to return this from the api even though my body is in multipart then please tell me.