Adding Webhooks in Strapi 🎯
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
Language
English
Hacker News points
None found.