Cloudflare Disables Unencrypted Access to Its API to Prevent Leaks

Listen to this Post

Cloudflare has officially blocked all unencrypted HTTP connections to its API, marking the end of HTTP access to its application programming interface. Any attempts to connect via unencrypted HTTP will now be rejected immediately, without redirection or error responses. This move reinforces security by ensuring all API communications are encrypted via HTTPS.

You Should Know:

1. Enforcing HTTPS in API Calls

Cloudflare now mandates HTTPS for all API requests. Below are examples of how to ensure your API calls comply: