Find out how to create webhook in golang and gin
Are you attempting to name into one other service or is one other service calling into your API? If the previous, test this information out on tips on how to make HTTP requests:
If the latter, there’s nothing particular about responding to webhooks. It’s simply an API that may name right into a sure endpoint in your publicly-exposed internet API. There will probably be some form of safety layer (for instance try these docs from Stripe) the place you validate some form of secret they ship with the request to confirm they’re those sending the request, however, it’s all simply normal RESTful API stuff.
1 Like