Need a simple node js program that sets an ip access rule on cloudflare using cloudflare's api
Budget: $10 – $30 USD
We need a single node.js program that we can run to set or unset an ip access rule on free cloudlfare account.
The program will accept 2 parameters via json (we will be calling this node program via some sort of a POST request on a web server). We will send some sort of an auth code (different from cloudflare tokens and auth) to authenticate and also pass the set/unset param which will be used to either set an ip access rule or unset it on a free cloudflare account
So one call will set the ip rule and another call can unset it.
The cloudflare tokens etc can be stored on the node server or even within the code as const.
You must be well versed with dealing with APIs specifically cloudflare API (CF provides excellent documentation for its APIs)
Also you must know general REST API principles and of course you must know node.js
The program will accept 2 parameters via json (we will be calling this node program via some sort of a POST request on a web server). We will send some sort of an auth code (different from cloudflare tokens and auth) to authenticate and also pass the set/unset param which will be used to either set an ip access rule or unset it on a free cloudflare account
So one call will set the ip rule and another call can unset it.
The cloudflare tokens etc can be stored on the node server or even within the code as const.
You must be well versed with dealing with APIs specifically cloudflare API (CF provides excellent documentation for its APIs)
Also you must know general REST API principles and of course you must know node.js