mari

mari

  • NA
  • 8
  • 0

How Get parameter that has been posted by HTTP POST

Nov 7 2013 6:41 PM

I am using webhooks inside the mailgun API  in C#.

http://documentation.mailgun.com/user_manual.html#webhooks

In webhooks I have to provide a URL in mailgun control panel then mailgun will make an HTTP POST to my URL and send some parameters. I got a temporary URL from this website -http://requestb.in/and set it in mailgun to receive the HTTP post. How I can get the parameters that have been sent via post?

I was thinking using:

string domain = Request.Params["domain"];

but it is empty. I am confused should I have any request to that temp url?