Closed kenziebottoms closed 6 years ago
PUT and POST now use the same model and controller functions.
PUT
POST
npm run db:generate
npm start
/employees
/customers
Description
PUT
andPOST
now use the same model and controller functions.Related Ticket(s)
103
Steps to Test Solution
npm run db:generate
npm start
POST
request to route root (/employees
,/customers
, etc.)PUT
request to an existing IDPUT
request to an ID that doesn't have an object (use ID 100 because you know that won't be in use)