piccolo_api
piccolo_api copied to clipboard
PiccoloCRUD `post_single` return id of the inserted row instead of the row
When I create a new item:
POST /items
{
"name": "testing"
}
It response the id of the inserted row, in array format
[{"id": 1}]
How to get response of the row
{
"id": 1,
"name": "testing"
}