1
0
mirror of https://github.com/bitwarden/server synced 2025-12-21 18:53:41 +00:00

route template in http verb attr

This commit is contained in:
Kyle Spearrin
2017-12-04 10:13:30 -05:00
parent 755c73deba
commit 31d0caf73e

View File

@@ -5,8 +5,7 @@ namespace Events.Controllers
{ {
public class EventsController : Controller public class EventsController : Controller
{ {
[HttpPost] [HttpPost("~/")]
[Route("~/")]
public void Post([FromBody]string value) public void Post([FromBody]string value)
{ {
} }