I am using GitHub - cloudflare/cloudflare-php: PHP library for the Cloudflare v4 API
I try to update a firewall rule
$expression = "(ip.src eq 150.150.150.150);
$firewall->updateFirewallRule($zoneid, $rule->id, $rule->filter->id, $expression , $options, ‘newRule’);
Nothing changes, except the name of the rule newRule, which means parameters and call is correct
Do I need to encode $expression in base64 ? or some special encoding ?
I successfully did it with CURL -which is very unreadable - and I try to use the php rest API provided.
Any suggestion, ideas ?