Skip to main content

Hello,


I am trying to integrate ASP.NET and Webhook.


How should I read the POST request on .NET side. I tried using

protected void Page_Load(object sender, EventArgs e)

{

Page.Response.ContentType = “application/x-www-form-urlencoded”;

StreamReader reader = new StreamReader(Page.Request.InputStream);

String xmlData = reader.ReadToEnd();

}

But no success so far.


Can you let me know als how can I test it?


Regards

Before couple of weeks Asp.Net team has announced to support Web Hooks with Visual Studio.


Please have a look here for more detailed information:


https://neelbhatt40.wordpress.com/2015/10/14/webhooks-in-asp-net-a-visual-studio-extension/


Reply