-
Notifications
You must be signed in to change notification settings - Fork 2
API Routes
Renerose Dimatulac edited this page May 21, 2021
·
2 revisions
- This web app uses the following API routes to dynamically update the page.
- GET /api/users/:id - User Profile
- POST /api/users - Sign Up
- POST /api/session - Log In
- DELETE /api/session - Log Out
- GET /api/channels/ - fetch all subscribed channels
- POST /api/channels/ - Create a channel
- GET /api/messages - Fetch all messages
- POST /api/messages - Create a message
- PATCH /api/messages - Edit a message
- DELETE /api/messages/:id - Delete a message