Created categories views
Created category view. Added API Get, Put, Post, and Delete.
Testing Steps:
pull down the branch
run the json server
make a GET request using postman to http://localhost:8088/categories
verify that response returns an array of categories
make a GET request using postman to http://localhost:8088/categories/1
verify that the response returns a single tag with the PK of 1
make post request using postman to http://localhost:8088/categories
select raw from dropdown. Enter object in body using format:
{
"label":"put label here"
}
verify that new entry appears in categories through Get
make put request using postman to http://localhost:8088/categories/1
select raw from dropdown. Enter object in body using format:
Ticket:
52
What Changed:
Created categories views Created category view. Added API Get, Put, Post, and Delete.
Testing Steps:
{ "label":"put label here" }
{ "label":"put label here" }