使用Postman,我可以将文件附加到带有表单数据的请求中,也可以以原始格式发送嵌套的JSON对象,但是我该怎么办:通过文件发送嵌套结构的数据,例如:
"data": { "normal_fields": { "field1": "value1", "field2": "value2" }, "image_file": <file> }
javascript json httprequest postman
httprequest ×1
javascript ×1
json ×1
postman ×1