With Postman, I can attach files in requests with form-data, I can also send nested JSON object in raw format, but how can I do both: sending nested-structure data with file, e.g:
"data": {
"normal_fields": {
"field1": "value1",
"field2": "value2"
},
"image_file": <file>
}
Try setting values like below and choose file to upload.
It didn't worked for me like that. For me only worked this way:
or arrays with objects: