CFPurge

Takes one parameter, the string URL to send to CloudFlare's API

Description:

This Top Query command takes a single parameter of the URL string to send to CloudFlare's API. If the URL string is completely blank, the value from Req.PathWithParams will be used. Otherwise, the URL string should start with / (which is included with Req.PathWithParams) it will be called once for http and https, for each value in Cnw.CF.Purge. If Cnw.CF.Purge is false (blank or a -) the CFPurge command will exit silently; this allows shared source code to have CFPurge in the code but be enabled / disabled globally per system in the Setup Table.

Example:

CFPurge ""

CFPurge "/cloudflare.com/mydomain?myPass='...'&myId='...'"