I am using https://github.com/cloudflare/cloudflare-php
I try to update a firewall rule
$expression = "(ip.src eq 126.96.36.199);
$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 ?