From 2a112855e54ea3a365fa032e8726196a7eec9a06 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 16 Dec 2020 22:12:50 +0530 Subject: begin working on rating endpoints --- tests/requests.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tests') 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 http POST :7878/user/login username=akshay password=nigga -http POST :7878/user/change_password Cookie:user-login=mKT3PRPSKJp/AdsfPCXg3GICmQW2wViUwUKPpsXKp+70ug== old_password=nigga new_password=nigga +http POST :7878/user/change_password Cookie: old_password=nigga new_password=nigga http :7878/user/change_password username=akshay password=password @@ -10,8 +10,12 @@ http :7878/product/catalog http :7878/product/1 -http POST :7878/cart/add Cookie:user-login=mKT3PRPSKJp/AdsfPCXg3GICmQW2wViUwUKPpsXKp+70ug== product_id:=1 +http POST :7878/cart/add Cookie: product_id:=1 -http :7878/cart/items Cookie:user-login=mKT3PRPSKJp/AdsfPCXg3GICmQW2wViUwUKPpsXKp+70ug== +http :7878/cart/items Cookie: http POST :7878/cart/remove Cookie: product_id:=1 + +http POST :7878/rating/add Cookie: product_id:=1 stars:=3 comment_text=Very good functional chair + +http :7878/product/reviews/1 -- cgit v1.2.3