问题
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 !
回答1:
Select
METHOD POST
Then under Body chose raw
here is a screenshot
on/json
来源:https://stackoverflow.com/questions/43002142/sending-json-api-object-using-postman