Closed medlenmage closed 3 years ago
Filter on location for products
Request
GET http://localhost:8000/products?location=Zhongshan Gets products from that location
http://localhost:8000/products?location=Zhongshan
Response
HTTP/1.1 201 OK
[ { "id": 2, "name": "Golf", "price": 653.59, "number_sold": 1, "description": "1994 Volkswagen", "quantity": 4, "created_date": "2019-07-10", "location": "Zhongshan", "image_path": null, "average_rating": 0 } ]
Description of how to test code...
this included my update to a previous branch for some reason as well.
i believe that fixed it
Filter on location for products
Changes
Request
GET
http://localhost:8000/products?location=Zhongshan
Gets products from that locationResponse
HTTP/1.1 201 OK
Testing
Description of how to test code...
Related Issues