icodeforlove / node-cloudflare

Node.js CloudFlare V4 API wrapper
MIT License
30 stars 14 forks source link

Add page rules for a zone end point #13

Closed marc-queiroz closed 6 years ago

marc-queiroz commented 6 years ago

Hello,

I am working with your API to control some page rules in cloudflare. I made some contributions to your API adding a few endpoints (https://api.cloudflare.com/#page-rules-for-a-zone). If you think this could be helpful for your project you can merge this pull request, or refactor for a better compatibility with your code.

Best regards.

icodeforlove commented 6 years ago

Thanks for the contribution.

Why was userFirewallAccessRuleNew removed?

marc-queiroz commented 6 years ago

Hi, This was a mistake I did in my first commit 43416e7. After I got my mistake, I put the code back, fixing it in the commit 5d51779. I hope I made it right. The order of commits, from first to the last, 43416e7, 5d51779 and 7be27a9. Best regards

icodeforlove commented 6 years ago

@marc-queiroz thanks again for the addition