##Using Simple CRUD for Really Simple Todo
'accept', 'application/json'
'Content-Type', 'application/json'
using json:
{
"title": "String",
"content": "String",
"inStatus": integer
}
body require when creating and updating item
not using
works only on
- http://.../api
- http://.../api/create
- http://.../api/view/{id}
works only on
- http://.../api/update/{id}
works only on
- http://.../api/delte/{id}
on /create/view:
{
"id": integer,
"item": {
"id": Integer,
"title": "String",
"content": "String",
"createdAt": "String<DateTime>",
"inStatus": Integer
},
"status": Integer
}
on update/delete:
{
"result": boolean,
"status": integer
}
added PostMan collection in project 4 testing