diff options
author | Akshay <[email protected]> | 2020-12-24 05:21:40 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2020-12-24 05:21:40 +0000 |
commit | 9d2b6ee10ec5359cc91769d430485c8c869ba1a8 (patch) | |
tree | b2d541e575ab6e3f70cb709f156f06afca085881 /backend/tests/requests.txt | |
parent | 7c65421328552b08e64df25e224fe9d54d363e6e (diff) |
monorepo
Diffstat (limited to 'backend/tests/requests.txt')
-rw-r--r-- | backend/tests/requests.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/backend/tests/requests.txt b/backend/tests/requests.txt new file mode 100644 index 0000000..7e2ca5c --- /dev/null +++ b/backend/tests/requests.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | http POST :7878/user/login username=akshay password=password | ||
2 | |||
3 | http POST :7878/user/login username=akshay password=nigga | ||
4 | |||
5 | http POST :7878/user/change_password Cookie: old_password=nigga new_password=nigga | ||
6 | |||
7 | http :7878/user/change_password username=akshay password=password | ||
8 | |||
9 | http :7878/product/catalog | ||
10 | |||
11 | http :7878/product/1 | ||
12 | |||
13 | http POST :7878/cart/add Cookie: product_id:=1 | ||
14 | |||
15 | http :7878/cart/items Cookie: | ||
16 | |||
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 | ||