From fc456e21c2d70854744b4e1dc816783d9820a01c Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 22 Mar 2024 17:08:07 +0000 Subject: Added skeleton of get operation. --- ApiController.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ApiController.cs (limited to 'ApiController.cs') diff --git a/ApiController.cs b/ApiController.cs new file mode 100644 index 0000000..3b75419 --- /dev/null +++ b/ApiController.cs @@ -0,0 +1,13 @@ +using Microsoft.AspNetCore.Mvc; +using System.Collections.Generic; +using System.Net; + +namespace download; + +public class ApiController : Controller +{ + public IActionResult Get(string? key) + { + return StatusCode((int)HttpStatusCode.OK, "Hello World - " + key); + } +} -- cgit v1.2.3