Endpoint: service.headless-render-api.com/api/v1
This administrative API is for operations related to your account, see the pre-rendering API for documenation on pre-rendering and screenshots.
X-Prerender-Token
curl --header "X-Prerender-Token: secret-token"
By default, headless-render-api.com caches for 5 minutes. This is configurable for each API request (see thePrerender-Cache-Duration
header in the pre-rendering API docs
This POST
request will clear headless-render-api.com's cache for URLs hit by your account. Some headless-render-api.com users set their Prerender-Cache-Duration
value to long periods (e.g. 1 month) and sometimes want an easy way to clear all cache.
curl -XPOST -H'X-Prerender-Token: SECRET_API_TOKEN' http://service.headless-render-api.com/api/v1/clear-cache