aboutsummaryrefslogtreecommitdiff
path: root/backend/tests/requests.txt
diff options
context:
space:
mode:
Diffstat (limited to 'backend/tests/requests.txt')
-rw-r--r--backend/tests/requests.txt21
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 @@
1http POST :7878/user/login username=akshay password=password
2
3http POST :7878/user/login username=akshay password=nigga
4
5http POST :7878/user/change_password Cookie: old_password=nigga new_password=nigga
6
7http :7878/user/change_password username=akshay password=password
8
9http :7878/product/catalog
10
11http :7878/product/1
12
13http POST :7878/cart/add Cookie: product_id:=1
14
15http :7878/cart/items Cookie:
16
17http POST :7878/cart/remove Cookie: product_id:=1
18
19http POST :7878/rating/add Cookie: product_id:=1 stars:=3 comment_text=Very good functional chair
20
21http :7878/product/reviews/1