Mikey
Mikey

Reputation: 49

REST API to webhooks C#

I am newbie to webhooks and doing google search is confusing me more lol.

I designed and implemented a HTTP POST rest API end point using .NET framework. I am able to consume this endpoint using postman without any problem. http://localhost:44309/custom/process {"name":"testing"} I am trying to write a web hook to consume that. My network is private, how can i register the endpoint and what is the best approach to implement and test webhook receiver?

Upvotes: 1

Views: 1838

Answers (1)

CoolBots
CoolBots

Reputation: 4869

You need to make your endpoint publicly visible; a common tool for that is ngrok, which is designed for this purpose, and has a free tier.

Upvotes: 2

Related Questions