/plushcap/analysis/strapi/strapi-strapi-webhooks

Adding Webhooks in Strapi 🎯

What's this blog post about?

This article provides a workaround for implementing webhook features in Strapi, which is not yet available. It explains how to use lifecycle callbacks and HTTP calls to rebuild a static website when content is updated in Strapi. The process involves uncommenting afterCreate, afterUpdate, and afterDestroy lifecycle callbacks, storing the URL for rebuilding the website, installing axios, and making HTTP calls using request. The article also provides guidance on where to find necessary files and how to modify them.

Company
Strapi

Date published
Oct. 31, 2018

Author(s)
Pierre Burgy

Word count
457

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.