Skip to content Skip to sidebar Skip to footer

Sending (nested) Json Object With File Using Postman

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:

Solution 1:

Try setting values like below and choose file to upload.

enter image description here

Solution 2:

It didn't worked for me like that. For me only worked this way:

property[nested_field1]
property[nested_field2]

or arrays with objects:

array[0][nested_field1]
array[0][nested_field2]
array[1][nested_field1]
array[1][nested_field2]

Post a Comment for "Sending (nested) Json Object With File Using Postman"