-
Notifications
You must be signed in to change notification settings - Fork 1
API Routes
lucascostamonteiro edited this page Mar 2, 2022
·
1 revision
This web app uses the following API routes to dynamically update the page to create a single-page-app-like feel for the user for specific features.
-
A logged in user may create, edit, and delete their product listings without causing a refresh or redirect.
POST /api/products
PUT /api/products/:id
DELETE /api/products/:id
-
A logged in user may create, edit, and delete a review to a purchased product without causing a refresh or redirect.
POST /api/reviews
PUT /api/reviews/:id
DELETE /api/reviews/:id