Awesome explanation. I think webhooks have a scary vibe at first, but it's really just an arrangement with some application to send a POST request to some URL. Maybe that's your app, or maybe it's a URL that Slack, for example, gives you so it can post a message in your channel.
It's really not a lot different from any similar transaction within your own app. On dev.to, we have it arranged that any time someone creates a comment, they hit the /comments endpoint with a POST request. If a second app wanted to do something with the comment creation process as well, they'd tell us to also send a request their way when we're done.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Awesome explanation. I think webhooks have a scary vibe at first, but it's really just an arrangement with some application to send a
POST
request to some URL. Maybe that's your app, or maybe it's a URL that Slack, for example, gives you so it can post a message in your channel.It's really not a lot different from any similar transaction within your own app. On dev.to, we have it arranged that any time someone creates a comment, they hit the
/comments
endpoint with aPOST
request. If a second app wanted to do something with the comment creation process as well, they'd tell us to also send a request their way when we're done.