Welcome to the Strapi Community Forums @hassanra 
I suggest you need to use populate
So you need to populate the media to access it
Hi, Thank you for response.
I use react native expo, I search in internet for three days
but i couldn’t find any correct solution for expo.
NOTICE : All my queries are correct and work in postman for upload file to strapi or create any new entry that it has a image filed.
but when i want use in expo don’t work
please help me

I write all kind changes that I find in internet.
when I want create an entry, just create fields that not files.
1 Like
if (files) {
const formData = new FormData();
const filename = files.substring(files.lastIndexOf("/")+1);
formData.append("files" , {
uri : files,
type : "image/jpeg",
name : filename ,
})
const response = await GlobalApi.setTestData(formData).then((rep) => {
console.log("Image uploaded successfully:", rep);
})