邮递员:发送嵌套的JSON对象 [英] Postman: sending nested JSON object

查看:86
本文介绍了邮递员:发送嵌套的JSON对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ASP.NET Web API: http://xyzdomain.com:16845/ api / returns / returns

I am using ASP.NET Web API: http://xyzdomain.com:16845/api/returns/returns

在给定 Items 是一个集合:

[
  {
    "Items": [
      {
        "sku": "9257",
        "Price": "100",
        "Quantity": "500",
        "DiscountPercent": "1",
        "backordered": "2"
      }
    ],
    "order_id": "F429768865001",
    "status_code": "Shelf",
    "Exception": "no error"
  }
]


推荐答案

将其发送为原始数据并将类型设置为 application / json

Send it as raw data and set the type to application/json

这篇关于邮递员:发送嵌套的JSON对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆