Last active
November 13, 2015 13:21
-
-
Save wshaddix/06ebb0316040db34bd17 to your computer and use it in GitHub Desktop.
Asp.Net Web API Controller - HEAD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.AspNet.Mvc; | |
namespace kanbanflow_slack.Controllers | |
{ | |
[Route("api/webhooks")] | |
public class WebHooksController : Controller | |
{ | |
// HEAD: api/webhooks | |
[HttpHead] | |
public void Head() | |
{ | |
// nothing to do, we just need to return a 200 status code | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment