I am trying to POST data to my API. I have a model with an image
field where:
image = models.ImageField()
I have an image on my local box, which I am trying to send. Am I sending it correctly?
{
"id": "3",
"uid":"273a0d69",
"uuid": "90",
"image": "@/home/user/Downloads/tt.jpeg"
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…