-
Notifications
You must be signed in to change notification settings - Fork 9
/
Spring Security JWT.postman_collection.json
134 lines (134 loc) · 3 KB
/
Spring Security JWT.postman_collection.json
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"info": {
"_postman_id": "b85524ad-28a7-42bc-bea9-b5ea6f09c4a0",
"name": "Spring Security JWT",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "9042653"
},
"item": [
{
"name": "http://localhost:8080/auth/save",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\"email\":\"[email protected]\",\n\"password\":\"reguregu\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/auth/save",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"auth",
"save"
]
}
},
"response": []
},
{
"name": "http://localhost:8080/auth/login",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\"email\":\"[email protected]\",\n\"password\":\"reguregu\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/auth/login",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"auth",
"login"
]
}
},
"response": []
},
{
"name": "http://localhost:8080/products",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxLHJlZ3VAZ21haWwuY29tIiwiaXNzIjoiQ29kZUphdmEiLCJpYXQiOjE2OTM0NTIyNDAsImV4cCI6MTY5MzUzODY0MH0.jg7qbaT5-BhSvuefovJ26X3fBhTqgM-wiqgum57JF0zYN6DDtB8UANaQGzfsIUKp8XW-44Ql3fGFZaw1QquoSg",
"type": "default"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"iphone\",\n\"password\":\"760000.00\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/products",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"products"
],
"query": [
{
"key": "Authorization",
"value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxLHJlZ3VAZ21haWwuY29tIiwiaXNzIjoiQ29kZUphdmEiLCJpYXQiOjE2ODY4ODkwMTYsImV4cCI6MTY4Njk3NTQxNn0.ZdhQemeXCdYNh-NdTjiDdx_To3mtGw5-7FLCW_e3I5AGeSV9f0XP0xQ7ratxWAFZvQPC3E1-niiBR8Dd1jQnbw",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "http://localhost:8080/products",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxLHJlZ3VAZ21haWwuY29tIiwiaXNzIjoiQ29kZUphdmEiLCJpYXQiOjE3MDA5MTY4NTQsImV4cCI6MTcwMTAwMzI1NH0.NQoU42LObZ-kMRTBkNbl07SPQWWxHJP4AaJKwINDaLQS2h1OqBY4o8vMZ1-yrSMJ0J1hq9w12tX7Dq3zp4dFAw",
"type": "default"
}
],
"url": {
"raw": "http://localhost:8080/products",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"products"
]
}
},
"response": []
}
]
}