An AMP validator you can cURL
Mar 8, 2017Dani Grant

Summary
This post introduces a new AMP linter API that can be accessed via cURL. The API allows developers to validate AMP pages by sending either a URL or the HTML content directly. It returns a JSON response indicating validity and provides specific error codes and links to documentation for invalid pages. The post also includes examples of how to use the API with cURL and Python.
More from the Website Security & Threat Management trail
- We tested our own WAF with frontier AI models. Here’s what we found
- When scanners miss the attack: how Cloudflare Client-Side Security protects storefronts
- Introducing automatic remediation policies with Cloudflare CASB
- Introducing context-aware vulnerability discovery and remediation with Cloudflare Managed Defense and OpenAI Daybreak Models
- Introducing Adaptive Intelligence: undermining the economics of every bot attack