diff --git a/Iframe/Iframe.JSON b/Iframe/Iframe.JSON new file mode 100644 index 0000000..a27c50c --- /dev/null +++ b/Iframe/Iframe.JSON @@ -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": "This request has been rate-limited." + } + } +} diff --git a/Iframe/pAtch.iframe b/Iframe/pAtch.iframe new file mode 100644 index 0000000..257d637 --- /dev/null +++ b/Iframe/pAtch.iframe @@ -0,0 +1,7 @@ + + + diff --git a/README.md b/README.md index 57f631d..df29f11 100644 --- a/README.md +++ b/README.md @@ -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]