You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a POST route handler at /api/items that accepts form data, creates an Item record using the form data. The form data will include the following fields: title, category, quantity, expiration, unitSize, datePosted, lotNumber, donorName, and unitPrice.
Description
Create a
POST
route handler at/api/items
that accepts form data, creates anItem
record using the form data. The form data will include the following fields:title
,category
,quantity
,expiration
,unitSize
,datePosted
,lotNumber
,donorName
, andunitPrice
.Success Criteria
ADMIN
orSUPER_ADMIN
Item
record is createdThe text was updated successfully, but these errors were encountered: