summaryrefslogtreecommitdiff
path: root/ApiController.cs
blob: 3b75419fb378ea4a8bc3257b4de6dc3fe9bfd12d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
    }
}