User-1123897551 posted
Hi,
I created a web api URL and hosted in environment. And assign this web URL to web hook in mail gun
find my code below
// POST api/mailgun
public HttpResponseMessage Post(HttpRequestMessage msg)
{
var recipient = msg.Content;
string jsonContent = recipient.ReadAsStringAsync().Result;
return Request.CreateResponse(HttpStatusCode.OK, jsonString);
}
I can not get reply from the above post method.
Thanks in advance