diff options
author | Ian C <ianc@noddybox.co.uk> | 2024-03-22 17:08:07 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2024-03-22 17:08:07 +0000 |
commit | fc456e21c2d70854744b4e1dc816783d9820a01c (patch) | |
tree | 0a8a9343d8a5788471b16489e36b777abbdfe7bf /ApiController.cs | |
parent | 1f61b2afecb32b5d75268642a49ce9556f505796 (diff) |
Added skeleton of get operation.
Diffstat (limited to 'ApiController.cs')
-rw-r--r-- | ApiController.cs | 13 |
1 files changed, 13 insertions, 0 deletions
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); + } +} |