title: How to setup a webhook in Twilio to a .Net Core Web API Controller?
body: <p>I am trying to receive a request from Twilio through my .NET Core Web API project. I don't want to use MVC. I have followed the tutorial in the Twilio docs <a href="https://www.twilio.com/docs/sms/quickstart/csharp-dotnet-core#receive-and-reply-to-inbound-sms-messages-with-aspnet-core" rel="nofollow noreferrer">here</a> on receiving a message and returning a response but, it seems to only work with an MVC project. I have followed the directions line by line but still "no joy". </p>
  
  <p>When I try and hit the endpoint through Postman I receive a 400 Bad Request response. The body says: "": [ "The input was not valid." ]</p>
  
  <p>Twilio logs the error as Error - 11200 HTTP retrieval failure</p>
  
  <p>Both MVC and Web API controllers "if i'm not mistaken" inherit from the same base class in .Net Core. Does anyone know why this doesn't work with a Web API controller?</p>