summaryrefslogtreecommitdiff
path: root/ApiController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ApiController.cs')
-rw-r--r--ApiController.cs13
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);
+ }
+}