This repository has been archived on 2023-06-30. You can view files and clone it, but cannot push or open issues or pull requests.
2chBackAPI/APIControllers/TestPosting.cs
RakVhalate a4b72664fd
All checks were successful
continuous-integration/drone/push Build is passing
Added some folders.
2022-11-25 22:40:17 +10:00

20 lines
470 B
C#

using Microsoft.AspNetCore.Mvc;
using System.Net;
using System.Text.Json;
namespace NeDvachAPI.Controllers
{
[ApiController]
[Route("[controller]")]
public class TestPostingController : ControllerBase
{
[HttpPost]
public int Area([FromForm] int height , int altitude)
{
//DBchat.SendPost(ReceivedPost);
Console.WriteLine("Received! " + height + " " + altitude );
return 200;
}
}
}