-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyour-bunny-api.postman_collection.json
68 lines (68 loc) · 1.29 KB
/
your-bunny-api.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
{
"info": {
"_postman_id": "94f3c2f9-8e08-44dd-90d7-7cc988938a31",
"name": "your-bunny-api",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "31822390"
},
"item": [
{
"name": "get token for user",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"username\": \"russian_sigma\",\r\n \"password\": \"kamen\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/auth/get-token",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"auth",
"get-token"
]
},
"description": "Return token if user is exist in database"
},
"response": []
},
{
"name": "registration new user",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "New Request",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "admin panell",
"request": {
"method": "GET",
"header": [],
"description": "Work with admin panel (available for admin role)"
},
"response": []
}
]
}