我一直在使用Postman Chrome扩展程序来测试我的API,并希望通过帖子发送一系列ID.有没有办法在Postman中将这个列表作为参数发送?
{
user_ids: ["1234", "5678"]
}
Run Code Online (Sandbox Code Playgroud) 我需要在POSTMAN中将参数作为对象数组发送.
"array": [
{"field1": "html", "field2": "5"},
{"field1": "css", "field2": "3"}
]
Run Code Online (Sandbox Code Playgroud)
我知道数组必须发送为array[]但是如何将数组的一个项目设置为对象?
我试过这个
"array[]" : "{"field1": "html", "field2": "5"}"
Run Code Online (Sandbox Code Playgroud)
但是我收到了500回复错误.