-
Notifications
You must be signed in to change notification settings - Fork 1
Backend routes
jas-singh-code edited this page Mar 17, 2021
·
5 revisions
GET / StaticPagesController#root
-
Get api/users- returns the user's posts -
POST api/users- create a user
-
POST api/session-login -
DELETE api/session-logout
-
GET /api/posts-returns relevent posts using params -
POST /api/posts-create a new post -
PATCH /api/posts/:Id-edits the specified post -
DELETE /api/posts/:Id-deletes the specified post
-
POST api/likes- like a post or comment -
DELETE api/likes- delete a like from a post or comment
-
POST api/friends-request a friend -
DELETE api/friends-unfriend/decline request