I'm using php crud api so the GET and DELETE working perfectly but not the POST and PUT ?
POST REQUEST
/records/posts/
CONTENT
{
"title": "Black"
}
return me an empty array :
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
[]
and PUT return me :
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/json; charset=utf-8
{"code":1002,"message":"Argument count mismatch in '1'"}
GET and DELETE are working nicely , any ideas ?