jsonjson-apijsonapi-resourcesjsonapiframework

Sending json api object using postman


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


Solution

  • Select

    METHOD POST

    Then under Body chose raw

    here is a screenshot

    enter image description hereon/json