CodeIgniter Forums
building a webhook's endpoint - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: building a webhook's endpoint (/showthread.php?tid=83407)



building a webhook's endpoint - Rami da - 09-23-2022

Hi
I have a webhook coming from Stripe. Should I create my endpoint by using the controller and have its function call a function in a Model? Or is there a better way in CI3 such as directly accessing a view? If I do the view, how do I directly address  it from Stripe? This is running on the public internet.
่pg betflik เครดิตฟรี 50