Welcome Guest, Not a member yet? Register   Sign In
building a webhook's endpoint
#5

(This post was last modified: 06-18-2022, 08:14 AM by richb201.)

Insite I read the article (and comments) and can surely see the authors point. In my case, I am just marking if the users payment went through. I already have a record for each user in my table. So I just need to update the field to paid or not paid. I use RDS, not a local table, so there could be an aws delay. But I am not really doing any processing.

For speed purposes, should the webhook being going directly to a view, rather than a method in my controller? How can l directly address a view from the app that is sending the webhook? How do I path it?

Thx

(06-18-2022, 08:12 AM)richb201 Wrote: Insite I read the article (and comments) and can surely see the authors point. In my case, I am just marking if the users payment went through. I already have a record for each user in  my table. So I just need to update the field to paid or not paid. I use RDS, not a local table, so there could be an aws delay. But I am not really doing any processing.

For speed purposes,  should the webhook being going directly to a view, rather than a method in my controller? How can l directly address a view from the app that is sending the webhook? How do I path it?

Or is a method in the controller preferred?

Thx
proof that an old dog can learn new tricks
Reply


Messages In This Thread
building a webhook's endpoint - by richb201 - 06-17-2022, 08:38 AM
RE: building a webhook's endpoint - by InsiteFX - 06-17-2022, 11:45 PM
RE: building a webhook's endpoint - by richb201 - 06-18-2022, 04:39 AM
RE: building a webhook's endpoint - by richb201 - 06-18-2022, 08:12 AM
RE: building a webhook's endpoint - by InsiteFX - 06-18-2022, 11:59 PM
RE: building a webhook's endpoint - by richb201 - 06-19-2022, 06:44 AM
RE: building a webhook's endpoint - by InsiteFX - 06-20-2022, 12:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB