-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMaxMind.postman_collection.json
106 lines (106 loc) · 2.03 KB
/
MaxMind.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
{
"info": {
"_postman_id": "f9153dcd-abc7-45a1-8c9a-c79d8746b18b",
"name": "MaxMind",
"description": "For this collection to work, please ensure fill in the values of the collection variables. You can find values for the variables by looking at the assets.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Check db last-modified without downloading the db",
"request": {
"method": "HEAD",
"header": [],
"url": {
"raw": "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={{LICENSE_KEY}}&suffix=tar.gz",
"protocol": "https",
"host": [
"download",
"maxmind",
"com"
],
"path": [
"app",
"geoip_download"
],
"query": [
{
"key": "edition_id",
"value": "GeoLite2-City"
},
{
"key": "license_key",
"value": "{{LICENSE_KEY}}"
},
{
"key": "suffix",
"value": "tar.gz"
}
]
}
},
"response": []
},
{
"name": "Download the latest GeoLite2-City database",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={{LICENSE_KEY}}&suffix=tar.gz",
"protocol": "https",
"host": [
"download",
"maxmind",
"com"
],
"path": [
"app",
"geoip_download"
],
"query": [
{
"key": "edition_id",
"value": "GeoLite2-City"
},
{
"key": "license_key",
"value": "{{LICENSE_KEY}}"
},
{
"key": "suffix",
"value": "tar.gz"
}
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "LICENSE_KEY",
"value": "LICENSE_KEY"
}
]
}