Closed CheoR closed 3 years ago
User can create new categories (through postman). Frontend portion sent as a separate pull request.
Closes #6
Please delete options that are not relevant.
In terminal, run
watchgod request_handler.main
In postman, under the POST tab,
POST
http://localhost:8088/categories in body > raw
http://localhost:8088/categories
body > raw
{ "label": "new_label_here" }
Successful creation returns the created object.
To view labels, in SQL file, run
SQL
SELECT * FROM Categories;
Looks good.
Description
User can create new categories (through postman). Frontend portion sent as a separate pull request.
Closes #6
Type of change
Please delete options that are not relevant.
Testing Instructions
In terminal, run
watchgod request_handler.main
In postman, under the
POST
tab,http://localhost:8088/categories
inbody > raw
Successful creation returns the created object.
To view labels, in
SQL
file, runChecklist: