使用邮递员发送嵌套的json对象
我正在使用Asp.net Web Api http://xyzdomain.com:16845/api/returns/returns
我有如下的数据,
我如何使用postman chrome扩展发布结束点,
鉴于“项目”是一个集合
[
  {
    "Items": [
      {
        "sku": "9257",
        "Price": "100",
        "Quantity": "500",
        "DiscountPercent": "1",
        "backordered": "2"
      }
    ],
    "order_id": "F429768865001",
    "status_code": "Shelf",
    "Exception": "no error"
  }
]
  将它作为原始数据发送,并将类型设置为application/json 

要使用键值接口发布嵌套对象,可以使用类似的方法发送数组。 在对象索引后传递一个方括号内的对象键。
"Items": [
      {
        "sku": "9257",
        "Price": "100"
      }
    ]
键值对可以采用高级输入。
防爆。

上一篇: sending nested json object using postman
下一篇: REST webservice using Spring MVC returning null while posting JSON
