schliemannw
04/03/2023, 4:10 AMencounter
04/03/2023, 5:20 PMDemosJarco
04/04/2023, 1:18 AMtt2468
04/04/2023, 9:01 AMtt2468
04/04/2023, 9:01 AMtt2468
04/04/2023, 9:01 AMRachel
04/05/2023, 2:58 AMXetera
04/05/2023, 5:16 PMXetera
04/05/2023, 5:19 PMDemosJarco
04/05/2023, 8:36 PMPOST
? I'm getting a bunch of crawlers and spam requests to my url so I want to setup a WAF to filter out as much as it can before it even triggers my webhook processor. Right now I'm getting AS132892
and I want to double check that is the one to expect them from and hard code it infritex
04/05/2023, 9:17 PMcurl \
-X POST \
-H "Authorization: Bearer AUTH" \
-d "{\"exp\":\"1680815347\",\"accessRules\":[{\"type\":\"ip.geoip.country\",\"country\":[\"HR\"],\"action\":\"allow\"},{\"type\": \"any\",\"action\": \"block\"}]}" \
https://api.cloudflare.com/client/v4/accounts/ACCID/stream/VID_ID/token
I am doing something wrong with the body request (data) with a cURL to generate a signed request which has got expire after 24 hours, limited to mc country, others blocked.
Receiving error related to the parsing:
"code": 10005,
"message": "Failed to parse body"
Issue only when I add exp:, while only with accessRules, works fine.fritex
04/05/2023, 9:21 PMfritex
04/05/2023, 9:39 PMdeepdev
04/05/2023, 9:42 PMDemosJarco
04/05/2023, 10:20 PMDemosJarco
04/05/2023, 10:21 PMRachel
04/06/2023, 12:10 AMRachel
04/06/2023, 12:12 AMRachel
04/06/2023, 12:14 AMRachel
04/06/2023, 12:15 AMDemosJarco
04/06/2023, 12:15 AMRachel
04/06/2023, 12:15 AMRachel
04/06/2023, 12:16 AMDemosJarco
04/06/2023, 12:16 AMDemosJarco
04/06/2023, 12:17 AMRachel
04/06/2023, 12:17 AMtimeoutSeconds
by any chance?Rachel
04/06/2023, 12:18 AMDemosJarco
04/06/2023, 12:20 AMDemosJarco
04/06/2023, 12:20 AM