-
Notifications
You must be signed in to change notification settings - Fork 2
routes
Oguzhan Cakmak edited this page Oct 22, 2017
·
2 revisions
-
GET /
StaticPagesController#root
-
GET /api/users
- returns the user information for the User Search feature -
POST /api/users
- sign up
-
POST /api/session
- log in -
DELETE /api/session
- log out
-
GET /api/questions
- returns relevant questions -
GET /api/questions/:id
- returns questions -
POST /api/question
- creates a question -
PATCH /api/questions/:id
- edit a question -
DELETE /api/questions/:id
- remove a question
/login
/signup
-
/feed
- questions feed, homepage -
/question/new
- create a question -
/questions/:questionId
- question show -
/question/:questionId/edit
- update a question -
/answer/new
- create a answer -
/answers/:answerId
- answer show -
/answer/:answerId/edit
- update a answer