add ping endpoint for status service

This commit is contained in:
Alan Moon 2025-03-14 14:03:20 -07:00
parent 2f99a2a1ab
commit 03a16df394

View File

@ -0,0 +1,17 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace sodoff.Controllers.Common
{
[ApiController]
public class PingController : Controller
{
[HttpPost]
[Produces("applcation/xml")]
[Route("PingWebService.asmx/GetPingPayload")]
public IActionResult GetPingPayload()
{
return Ok("Pong!");
}
}
}