GET /products
- it returns status 200 for success with an object array like this:
[
{
"id":1,
"name":"coffee",
"category":"drink",
"stock_total":10,
"image":"URL",
"price":2.99
}
{
"id":2,
"name":"mentos",
"category":"gum",
"stock_total":8,
"image":"URL",
"price":1.99
}
]
- it returns status 204 for success but no content