-
Notifications
You must be signed in to change notification settings - Fork 1
Backend Routes
echen831 edited this page Apr 30, 2020
·
5 revisions
-
GET
/StaticPagesController#root
-
GET / api/users/:id
- get information about current user -
POST / api/users
- create a new user
-
POST / api/session
- login -
DELETE / api/session
- logout
-
GET / api/stocks
- get information of all relevant stocks -
GET / api/stocks/:id
- get information of one particular stock
-
GET / api/watchlists/
- get user's watchlist -
POST / api/watchlists
- add an item onto user's watchlist -
DELETE / api/watchlists/:id
- remove an item on user's watchlist