Skip to content

Commit 118b0da

Browse files
committed
Add postman colections
1 parent bf31665 commit 118b0da

File tree

4 files changed

+870
-0
lines changed

4 files changed

+870
-0
lines changed
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
{
2+
"info": {
3+
"_postman_id": "f82841a4-b7e1-4fea-9f48-ff041e5d7fde",
4+
"name": "Admins",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6+
},
7+
"item": [
8+
{
9+
"name": "https://localhost:8443/api/admins/customers",
10+
"request": {
11+
"method": "GET",
12+
"header": [],
13+
"url": {
14+
"raw": "https://codeurjc-daw-2021-22-webapp8.herokuapp.com/api/admins/customers",
15+
"protocol": "https",
16+
"host": [
17+
"codeurjc-daw-2021-22-webapp8",
18+
"herokuapp",
19+
"com"
20+
],
21+
"path": [
22+
"api",
23+
"admins",
24+
"customers"
25+
]
26+
}
27+
},
28+
"response": []
29+
},
30+
{
31+
"name": "https://localhost:8443/api/admins/customers?page=0",
32+
"request": {
33+
"method": "GET",
34+
"header": [
35+
{
36+
"key": "Content-Type",
37+
"value": "application/json",
38+
"type": "text",
39+
"disabled": true
40+
}
41+
],
42+
"url": {
43+
"raw": "https://codeurjc-daw-2021-22-webapp8.herokuapp.com/api/admins/customers?page=0",
44+
"protocol": "https",
45+
"host": [
46+
"codeurjc-daw-2021-22-webapp8",
47+
"herokuapp",
48+
"com"
49+
],
50+
"path": [
51+
"api",
52+
"admins",
53+
"customers"
54+
],
55+
"query": [
56+
{
57+
"key": "page",
58+
"value": "0"
59+
}
60+
]
61+
}
62+
},
63+
"response": []
64+
},
65+
{
66+
"name": "https://localhost:8443/api/admins/orders?page=0",
67+
"request": {
68+
"method": "GET",
69+
"header": [
70+
{
71+
"key": "Content-Type",
72+
"value": "application/json",
73+
"type": "text",
74+
"disabled": true
75+
}
76+
],
77+
"url": {
78+
"raw": "https://codeurjc-daw-2021-22-webapp8.herokuapp.com/api/admins/orders?page=0",
79+
"protocol": "https",
80+
"host": [
81+
"codeurjc-daw-2021-22-webapp8",
82+
"herokuapp",
83+
"com"
84+
],
85+
"path": [
86+
"api",
87+
"admins",
88+
"orders"
89+
],
90+
"query": [
91+
{
92+
"key": "page",
93+
"value": "0"
94+
}
95+
]
96+
}
97+
},
98+
"response": []
99+
},
100+
{
101+
"name": "https://localhost:8443/api/admins/statistics",
102+
"request": {
103+
"method": "GET",
104+
"header": [],
105+
"url": {
106+
"raw": "https://codeurjc-daw-2021-22-webapp8.herokuapp.com/api/admins/statistics",
107+
"protocol": "https",
108+
"host": [
109+
"codeurjc-daw-2021-22-webapp8",
110+
"herokuapp",
111+
"com"
112+
],
113+
"path": [
114+
"api",
115+
"admins",
116+
"statistics"
117+
]
118+
}
119+
},
120+
"response": []
121+
}
122+
]
123+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"info": {
3+
"_postman_id": "b7a364eb-d412-4082-b8d8-15b73256ca62",
4+
"name": "Login",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6+
},
7+
"item": [
8+
{
9+
"name": "https://localhost:8443/api/auth/login",
10+
"request": {
11+
"method": "POST",
12+
"header": [],
13+
"body": {
14+
"mode": "raw",
15+
"raw": "{ \"username\": \"Jonathan\", \"password\": \"f\" }",
16+
"options": {
17+
"raw": {
18+
"language": "json"
19+
}
20+
}
21+
},
22+
"url": {
23+
"raw": "https://codeurjc-daw-2021-22-webapp8.herokuapp.com/api/auth/login",
24+
"protocol": "https",
25+
"host": [
26+
"codeurjc-daw-2021-22-webapp8",
27+
"herokuapp",
28+
"com"
29+
],
30+
"path": [
31+
"api",
32+
"auth",
33+
"login"
34+
]
35+
}
36+
},
37+
"response": []
38+
},
39+
{
40+
"name": "https://localhost:8443/api/auth/refresh",
41+
"request": {
42+
"method": "POST",
43+
"header": [],
44+
"url": {
45+
"raw": "https://codeurjc-daw-2021-22-webapp8.herokuapp.com/api/auth/refresh",
46+
"protocol": "https",
47+
"host": [
48+
"codeurjc-daw-2021-22-webapp8",
49+
"herokuapp",
50+
"com"
51+
],
52+
"path": [
53+
"api",
54+
"auth",
55+
"refresh"
56+
]
57+
}
58+
},
59+
"response": []
60+
},
61+
{
62+
"name": "https://localhost:8443/api/auth/logout",
63+
"request": {
64+
"method": "POST",
65+
"header": [],
66+
"url": {
67+
"raw": "https://codeurjc-daw-2021-22-webapp8.herokuapp.com/api/auth/logout",
68+
"protocol": "https",
69+
"host": [
70+
"codeurjc-daw-2021-22-webapp8",
71+
"herokuapp",
72+
"com"
73+
],
74+
"path": [
75+
"api",
76+
"auth",
77+
"logout"
78+
]
79+
}
80+
},
81+
"response": []
82+
}
83+
]
84+
}

0 commit comments

Comments
 (0)