-
Notifications
You must be signed in to change notification settings - Fork 6
Backend Routes
shaoevans edited this page Jan 7, 2020
·
5 revisions
-
GET /
RootController#root
-
GET /api/users
- returns the user information of displayed chirps and for the User Search feature -
POST /api/users
- sign up
-
POST /api/session
- log in -
DELETE /api/session
- sign out
-
GET /api/forums
- returns all forums -
GET /api/forums/:forum_id
- returns forum with :forumId
-
POST /api/forums/:forum_id/posts
- create new post in forum -
GET /api/forums/:forum_id/posts
- returns all posts in forum