-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequest.http
27 lines (17 loc) · 1.04 KB
/
request.http
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
POST https://localhost:5001/v1/account/login HTTP/1.1
content-type: application/json
{
"username": "robin",
"password": "robin"
}
###
GET https://localhost:5001/v1/account/anonymous HTTP/1.1
###
GET https://localhost:5001/v1/account/authenticated HTTP/1.1
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6ImJhdG1hbiIsInJvbGUiOiJtYW5hZ2VyIiwibmJmIjoxNjI2MzExNjMyLCJleHAiOjE2MjYzMTg4MzIsImlhdCI6MTYyNjMxMTYzMn0.v-kbvI0KLaybdyAyQQyXWSbIS72biUS4TrJ-KQdr7KM
###
GET https://localhost:5001/v1/account/employee HTTP/1.1
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InJvYmluIiwicm9sZSI6ImVtcGxveWVlIiwibmJmIjoxNjI2MzExNzA5LCJleHAiOjE2MjYzMTg5MDksImlhdCI6MTYyNjMxMTcwOX0.r1g09i-CM_fatwWbOlLXaI331k_xLH1T4SEd_4EFx9A
###
GET https://localhost:5001/v1/account/manager HTTP/1.1
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6ImJhdG1hbiIsInJvbGUiOiJtYW5hZ2VyIiwibmJmIjoxNjI2MzExNjMyLCJleHAiOjE2MjYzMTg4MzIsImlhdCI6MTYyNjMxMTYzMn0.v-kbvI0KLaybdyAyQQyXWSbIS72biUS4TrJ-KQdr7KM