-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostman_collection.json
More file actions
32 lines (32 loc) · 1.24 KB
/
postman_collection.json
File metadata and controls
32 lines (32 loc) · 1.24 KB
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
{
"info": { "name": "DevOps Demo API", "_postman_id": "devops-demo", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" },
"item": [
{
"name": "Root",
"request": {
"method": "GET",
"header": [],
"url": { "raw": "http://{{base_url}}/", "host": ["http://{{base_url}}"], "path": [""] }
}
},
{
"name": "Register user",
"request": {
"method": "POST",
"header": [{ "key": "Content-Type", "value": "application/json" }],
"body": { "mode": "raw", "raw": "{\"email\":\"test@example.com\",\"full_name\":\"Test User\",\"password\":\"password123\"}" },
"url": { "raw": "http://{{base_url}}/register", "host": ["http://{{base_url}}"], "path": ["register"] }
}
},
{
"name": "Login",
"request": {
"method": "POST",
"header": [{ "key": "Content-Type", "value": "application/json" }],
"body": { "mode": "raw", "raw": "{\"email\":\"test@example.com\",\"password\":\"password123\"}" },
"url": { "raw": "http://{{base_url}}/login", "host": ["http://{{base_url}}"], "path": ["login"] }
}
}
],
"variable": [{ "key": "base_url", "value": "localhost:8000" }]
}