嗨我必须上传多个文件,其中一个Json参数有多个数据。 我使用排球开始使用Json Params上传单个文件。我试了这么多时间,但没有运气,所以最后在这里发帖。供您参考,请求类似于
{
"name": "Thomas",
"email": "thomas@xyz.com",
"dob": "13/05/1975",
"fileArray": [{
"profileImage": "thomas.png",
"Comments": "My first birthday"
}]
}
提前致谢。
答案 0 :(得分:0)
也许
"fileArray": [{
"profileImage": "thomas1.png",
"Comments": "My first birthday"
},
{
"profileImage": "thomas2.png",
"Comments": "My second birthday"
},
{
"profileImage": "thomas3.png",
"Comments": "My third birthday"
}]
您正在寻找什么?