menu
close

Render URL

The Render URL API endpoint gives your team the ability to add a URL to Huckabuy’s Index along with rendering and caching the optimized page. If the URL is already part of Huckabuy’s Index, the URL will just be re-rendered and cached.

Example Use-cases

If you’ve recently deployed a new page or an update to an existing page of your website and would like Huckabuy to index & render this URL, this endpoint will do so. An example would be incorporating this into your website’s build and deploy process so anytime you deploy a new or updated page, Huckabuy can immediately render it.

API Details

Endpoint URL:

https://api.huckabuy.com/d/render/{URL}

HTTP Method:

GET

Required Headers:

Name /typeDescription /example
X-Auth-Token
string
Your Team’s API TokenDwZ05Ex2N8W34YqWkiKWgayk

Required Parameters:

Name /typeDescription /example
url
string
URL to Renderhttps://example.com/about-team

cURL (example)

curl "https://api.huckabuy.com/d/render/https://example.com/about-team" \
     -H "X-Auth-Token: DwZ05Ex2N8W34YqWkiKWgayk"

Response (example)

{
"success": true,
"message": "Successfully added https://example.com/about-team for rendering"
}