I have a Django REST API, that has a model with logo tag in it, which is a file (ImageField). How should the curl command look this way. I tried this way, but it never worked for me:
curl -vX POST http://127.0.0.1:8000/client/ -d test.json --header "Conten-Type: application/json" -F "logo=@Downloads/trello.png"