diff options
author | Akshay <[email protected]> | 2020-12-16 16:42:50 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2020-12-16 16:42:50 +0000 |
commit | 2a112855e54ea3a365fa032e8726196a7eec9a06 (patch) | |
tree | a4448517fef17c1cfcb845a6b616e8640070d9c7 /tests | |
parent | aa5a6d212f6237ab696cb0f5b00d3d5e762d5fec (diff) |
begin working on rating endpoints
Diffstat (limited to 'tests')
-rw-r--r-- | tests/requests.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/requests.txt b/tests/requests.txt index 7e38905..7e2ca5c 100644 --- a/tests/requests.txt +++ b/tests/requests.txt | |||
@@ -2,7 +2,7 @@ http POST :7878/user/login username=akshay password=password | |||
2 | 2 | ||
3 | http POST :7878/user/login username=akshay password=nigga | 3 | http POST :7878/user/login username=akshay password=nigga |
4 | 4 | ||
5 | http POST :7878/user/change_password Cookie:user-login=mKT3PRPSKJp/AdsfPCXg3GICmQW2wViUwUKPpsXKp+70ug== old_password=nigga new_password=nigga | 5 | http POST :7878/user/change_password Cookie: old_password=nigga new_password=nigga |
6 | 6 | ||
7 | http :7878/user/change_password username=akshay password=password | 7 | http :7878/user/change_password username=akshay password=password |
8 | 8 | ||
@@ -10,8 +10,12 @@ http :7878/product/catalog | |||
10 | 10 | ||
11 | http :7878/product/1 | 11 | http :7878/product/1 |
12 | 12 | ||
13 | http POST :7878/cart/add Cookie:user-login=mKT3PRPSKJp/AdsfPCXg3GICmQW2wViUwUKPpsXKp+70ug== product_id:=1 | 13 | http POST :7878/cart/add Cookie: product_id:=1 |
14 | 14 | ||
15 | http :7878/cart/items Cookie:user-login=mKT3PRPSKJp/AdsfPCXg3GICmQW2wViUwUKPpsXKp+70ug== | 15 | http :7878/cart/items Cookie: |
16 | 16 | ||
17 | http POST :7878/cart/remove Cookie: product_id:=1 | 17 | http POST :7878/cart/remove Cookie: product_id:=1 |
18 | |||
19 | http POST :7878/rating/add Cookie: product_id:=1 stars:=3 comment_text=Very good functional chair | ||
20 | |||
21 | http :7878/product/reviews/1 | ||