From 1da53f0ecc1d11602dde913d8744d16d927cc4b2 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 20 Feb 2016 23:29:28 -0500 Subject: [PATCH] added alive controller and endpoint --- src/Api/Controllers/AliveController.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/Api/Controllers/AliveController.cs diff --git a/src/Api/Controllers/AliveController.cs b/src/Api/Controllers/AliveController.cs new file mode 100644 index 0000000000..678ed79761 --- /dev/null +++ b/src/Api/Controllers/AliveController.cs @@ -0,0 +1,15 @@ +using System; +using Microsoft.AspNet.Mvc; + +namespace Bit.Api.Controllers +{ + [Route("alive")] + public class AliveController : Controller + { + [HttpGet("")] + public DateTime Get() + { + return DateTime.UtcNow; + } + } +}