Created
November 2, 2018 09:52
-
-
Save vertcitron/3116aad205b710d81a7ef41195a4ce6d to your computer and use it in GitHub Desktop.
article "Making a large scale app with vue.js (part 1)"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url | method | description | |
---|---|---|---|
/user | GET | retrieves logged user infos | |
/user | PUT | modifies logged user infos | |
/user | DELETE | deconnects current user and deletes it | |
/user | POST | creates a new user (no need to be logged in) | |
/user/login | POST | submits user's credentials and logs in if succeeded | |
/user/logout | POST | deconnects curent user | |
/todos | GET | retrieve all todos for the current user | |
/todos/id | GET | retrieves data for a single todo | |
/todos/id | POST | creates a new todo | |
/todos/id | PUT | modifies a todo | |
/todos/id | DELETE | deletes a todo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment