aboutsummaryrefslogtreecommitdiff
path: root/src/main (unfollow)
Commit message (Collapse)AuthorLines
2023-05-25Extended "save" method.Adrián Oliva-1/+21
It now can overwrite existing todos if they share the same ID.
2023-05-25Little typo on POST.Adrián Oliva-1/+1
Now it uses the page /todos.
2023-05-25Added new comments and reformatted an empty function.Adrián Oliva-4/+4
2023-05-25Added HTTP responses and text has max length.Adrián Oliva-0/+10
HTTP responses to each action. Raising an error when "text" has surpassed the 120 character limit.
2023-05-25Added a POST endpoint.Adrián Oliva-6/+26
Submit a JSON formatted body with the values "text", "dueDate" and "priority" to submit a new to do.
2023-05-25Added GET endpoint to list to dos.Adrián Oliva-4/+203
Currently the directory is /v1/todos. It'll retrieve a list of all to dos.
2023-05-25Added ToDos class.Adrián Oliva-0/+124
Class for saving all single to dos.
2023-05-24First simple Get Request.Adrián Oliva-0/+21
Returns a string with a "GET" request and on the page "/greet".