Postman: sending nested JSON object

user3965303 picture user3965303 · Nov 3, 2014 · Viewed 263.3k times · Source

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

How do I send a POST request to the endpoint using Postman Chrome extension, given Items is a collection:

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

Answer

standup75 picture standup75 · Nov 13, 2014

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

enter image description here