immaari commited on
Commit
7239d10
·
verified ·
1 Parent(s): ff4561a

Upload Ticketing_System.postman_collection.json with huggingface_hub

Browse files
Ticketing_System.postman_collection.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "info": {
3
+ "_postman_id": "b4e87df4-e575-429b-8639-702fb8b1442e",
4
+ "name": "Ticketing System",
5
+ "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
6
+ "_exporter_id": "18831179"
7
+ },
8
+ "item": [
9
+ {
10
+ "name": "Create Flexblok Account",
11
+ "request": {
12
+ "method": "POST",
13
+ "header": [],
14
+ "body": {
15
+ "mode": "raw",
16
+ "raw": "{\r\n \"username\":\"marimuthu01\",\r\n \"password\":\"1234\"\r\n}",
17
+ "options": {
18
+ "raw": {
19
+ "language": "json"
20
+ }
21
+ }
22
+ },
23
+ "url": "http://localhost:3000/api/users"
24
+ },
25
+ "response": []
26
+ },
27
+ {
28
+ "name": "Create Ticketing Admin",
29
+ "request": {
30
+ "auth": {
31
+ "type": "bearer",
32
+ "bearer": {
33
+ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NjQ0YTAzZTc1ZGM5NmRhZDFmZDkzNzAiLCJyb2xlcyI6WyJBZG1pbiJdLCJpYXQiOjE3NDA2NTg2OTAsImV4cCI6MTc0MDc0NTA5MCwiYXVkIjoiNjY0NGEwM2U3NWRjOTZkYWQxZmQ5MzcwIiwiaXNzIjoiaW5mLmNvbSJ9.MQR9a-NPS-BVIkGHoUebaS8iUQFYyBGa1FghYK2sRAg"
34
+ }
35
+ },
36
+ "method": "POST",
37
+ "header": [
38
+ {
39
+ "key": "x-api-key",
40
+ "value": "WMnXKod4BreU+e0GK4mG53xkZW/vesIHfU6C+Tkt74M=",
41
+ "type": "text"
42
+ }
43
+ ],
44
+ "body": {
45
+ "mode": "raw",
46
+ "raw": "{\r\n \"username\":\"marimuthu\",\r\n \"password\":\"1234\",\r\n \"userAddress\":\"0xF14D7c0430aDC4af27E8D17E34EB970D7cbd3872\"\r\n}",
47
+ "options": {
48
+ "raw": {
49
+ "language": "json"
50
+ }
51
+ }
52
+ },
53
+ "url": "http://localhost:3000/api/users/create-admin"
54
+ },
55
+ "response": []
56
+ },
57
+ {
58
+ "name": "Create Ticketing User",
59
+ "request": {
60
+ "auth": {
61
+ "type": "bearer",
62
+ "bearer": {
63
+ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NjQ0YTAzZTc1ZGM5NmRhZDFmZDkzNzAiLCJyb2xlcyI6WyJBZG1pbiJdLCJpYXQiOjE3NDA2NjQ1ODYsImV4cCI6MTc0MDc1MDk4NiwiYXVkIjoiNjY0NGEwM2U3NWRjOTZkYWQxZmQ5MzcwIiwiaXNzIjoiaW5mLmNvbSJ9.2q0o-oqabq5ARCVhVKpulysDTIFOoc3beS-W9lbU9Kg"
64
+ }
65
+ },
66
+ "method": "POST",
67
+ "header": [],
68
+ "body": {
69
+ "mode": "raw",
70
+ "raw": "{\r\n \"username\":\"marimuthu\",\r\n \"password\":\"1234\",\r\n \"userAddress\":\"0xF14D7c0430aDC4af27E8D17E34EB970D7cbd3872\"\r\n}",
71
+ "options": {
72
+ "raw": {
73
+ "language": "json"
74
+ }
75
+ }
76
+ },
77
+ "url": "http://localhost:3000/api/users/create-user"
78
+ },
79
+ "response": []
80
+ },
81
+ {
82
+ "name": "Signin",
83
+ "request": {
84
+ "method": "POST",
85
+ "header": [],
86
+ "body": {
87
+ "mode": "raw",
88
+ "raw": "{\r\n \"username\":\"marimuthu01\",\r\n \"password\":\"1234\",\r\n \"userType\":\"User\"\r\n}",
89
+ "options": {
90
+ "raw": {
91
+ "language": "json"
92
+ }
93
+ }
94
+ },
95
+ "url": "http://localhost:3000/api/users/signin"
96
+ },
97
+ "response": []
98
+ }
99
+ ]
100
+ }