Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions Iframe/Iframe.JSON
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
== te ==
// cURL (example)
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/xxx" \
-H "X-Auth-Email: user@example.com" \
-H "X-Auth-Key: xxx" \
-H "Content-Type: application/json"

// Response (example)
{
"success": true,
"errors": [
{}
],
"messages": [
{}
],
"result": {
"id": "xxx"
}
}
// Example object
{
"id": "xxx",
"disabled": false,
"description": "Prevent multiple login failures to mitigate brute force attacks",
"match": {
"request": {
"methods": [
"GET",
"POST"
],
"schemes": [
"HTTP",
"HTTPS"
],
"url": "*.example.org/path*"
},
"response": {
"status": [
401,
403
],
"origin_traffic": true
}
},
"bypass": [
{
"name": "url",
"value": "api.example.com/*"
}
],
"threshold": 60,
"period": 900,
"action": {
"mode": "simulate",
"timeout": 86400,
"response": {
"content_type": "text/xml",
"body": "<error>This request has been rate-limited.</error>"
}
}
}
7 changes: 7 additions & 0 deletions Iframe/pAtch.iframe
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!ATTLIST termdef
id ID #REQUIRED
name CDATA #IMPLIED>
<!ATTLIST list
type (bullets|ordered|glossary) "ordered">
<!ATTLIST form
method CDATA #FIXED "POST">
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# te
tru
{rdoc-image:https://www.quantifiedcode.com/api/v1/project/129ca2b2b42440418edb9150c3cc5467/badge.svg}[https://www.quantifiedcode.com/app/project/129ca2b2b42440418edb9150c3cc5467]