forked from mike6715b/Mikrotik_CF_DDNS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPublic.postman_collection.json
56 lines (56 loc) · 1.14 KB
/
Public.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
{
"info": {
"_postman_id": "43aad434-607f-4b75-8b16-29720ac70b4c",
"name": "Public",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Cloudflare get record ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "API_KEY",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://api.cloudflare.com/client/v4/zones/ZONE_ID/dns_records?name=DOMAIN_NAME",
"protocol": "https",
"host": [
"api",
"cloudflare",
"com"
],
"path": [
"client",
"v4",
"zones",
"ZONE_ID",
"dns_records"
],
"query": [
{
"key": "name",
"value": "DOMAIN_NAME"
}
]
},
"description": "Replace ZONE_ID with your zone id found on the Cloudflare Dashboard, Overview tab\r\nReplace YOUR_DOMAIN with your A domain\r\nReplace API_TOKEN with your API token"
},
"response": []
}
]
}