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