| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
Path is "/todos/{id}" to delete a to do with id {id}.
|
| |
|
|
|
|
|
|
|
| |
GET request with path "/todos/{field}/{order}", where {field} can be
"Id", "Priority" or "DueDate" for sorting the corresponding fields, and
{order} can be "ASC" or "DESC" for ascending or descending order,
respectively.
|
|
|
|
|
| |
Using PUT request on path /todos/{id}, the to do with id {id} will be
updated with the new information parsed as body.
|
|
|
|
|
| |
PUT request on path /todos/{id}/undone sets the to do with id {id} to
undone. It also resets the 'doneDate' variable.
|
|
|
|
| |
POST on /todos/{id}/done to set the to do with {id} done. :3
|
|
|
|
| |
It now can overwrite existing todos if they share the same ID.
|
|
|
|
| |
Now it uses the page /todos.
|
| |
|
|
|
|
|
| |
HTTP responses to each action. Raising an error when "text" has
surpassed the 120 character limit.
|
|
|
|
|
| |
Submit a JSON formatted body with the values "text", "dueDate" and
"priority" to submit a new to do.
|
|
|
|
|
| |
Currently the directory is /v1/todos. It'll retrieve a list of all
to dos.
|
|
|
|
| |
Class for saving all single to dos.
|
|
|
|
| |
Returns a string with a "GET" request and on the page "/greet".
|
|
Just simple files to build the project from ground up. (Don't know if
this is a good idea...)
|