Cf_firewall_api always tell me error

who can tell me what’s the reason

MY PYTHON CODE:
url = “https://api.cloudflare.com/client/v4/zones/” + zone + “/firewall/rules/”
data = [
{
‘filter’: {
‘id’: fid
},
‘action’: actions[i],
“description”: “k” + str(i),
‘paused’: False
}
]
resp = requests.post(url=url, headers=headers, proxies=proxies, json=data, timeout=10, verify=False)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.