Sending json api object using postman

Mauricio Junior picture Mauricio Junior · Mar 24, 2017 · Viewed 21.4k times · Source

I am using JSONAPI Specification http://jsonapi.org/format/#status

And I have data like below,

{
  "data": 
    {
    "type": "tag",
    "id": "1",
    "attributes": {
        "name": "Test"
    }
  }
}

How do I make a post request to the end point using postman chrome extension ?

I am trying to make a call but I cannot get the params.

Obs. I already set my Content-Type as application/vnd.api+json

Thanks !

valid HTML

Answer

Confidence picture Confidence · Mar 24, 2017

Select

METHOD POST

Then under Body chose raw

here is a screenshot

enter image description hereon/json