-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
scott062 edited this page Nov 14, 2018
·
4 revisions
-
GET
/StaticPagesController#root
-
GET /api/users
- -
POST /api/users
- sign up
-
POST /api/session
- log in -
DELETE /api/session
- log out
-
GET /api/servers
- retrieve all servers -
GET /api/servers/:id
- retrieve a particular server -
POST /api/servers
- create server
-
GET /api/channels
- retrieve all channels -
POST /api/channels
- create channel -
DELETE /api/channels/:id
- delete channel
-
POST /api/messages
- create a message -
DELETE /api/messages/:id
- delete a message
- How do I correctly nest information in these routes so I narrow my db visit?