-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWeather-postman.json
63 lines (63 loc) · 2.41 KB
/
Weather-postman.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
{
"info": {
"name": "RESTer",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Weather",
"item": [
{
"request": {
"url": "https://{$env.weatherUrl}/health",
"method": "GET",
"header": []
},
"id": "rester-145",
"name": "HealthCheck"
},
{
"name": "User",
"item": [
{
"request": {
"url": "https://{$env.weatherUrl}/user/login",
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"user@example.com\",\n \"password\": \"string\"\n}"
}
},
"id": "rester-146",
"name": "Login"
},
{
"request": {
"url": "https://{$env.weatherUrl}/user/register",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"user@example.com\",\n \"password\": \"string\",\n \"userName\": \"user\"\n}"
}
},
"id": "rester-147",
"name": "Register"
}
]
}
]
}
]
}