CloudFlare is a content delivery network that both increases website performance through faster load times and provides security. It provides developers with a Client Interface API that is used to check or modify the settings of a CloudFlare account. Developers can use the API to update CloudFlare Settings like DNS record, threat control listings, Security Level, Cache Purge, Development Mode. It also allows users to retrieve basic statistics for their website, retrieve the settings for features such as security level, toggle on and off the development mode feature to temporarily bypass the CloudFlare cache, change the current security level, request a purge of the CloudFlare cache, check whether a particular website/domain is associated with an account. The API uses HTTP calls and responses are formatted in JSON or JSONP.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.