-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I just wanted to double check how a typical POST/PUT request should look like for this lib to work.
It seems you don't expect the attributes to be placed within the attributes element like below. Instead you expect the attributes simply inside data. This is easy enough to change (inside Handler->parseRequestContent()) - was there a reason why its done this way? Am i missing something?
{
"data": {
"type": "resource",
"id": "",
"attributes": {
"name": "blah blah",
"age": "5"
}
}
}
The spec follows what I've done above: http://jsonapi.org/format/#crud
Thanks mate,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels