Added Test echo posting2
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
rak 2022-10-18 22:35:19 +10:00
parent cd5d50f06b
commit 13acfdc7da

View File

@ -7,11 +7,11 @@ namespace NeDvachAPI.Controllers
[Route("[controller]")]
public class TestPostingController : ControllerBase
{
[HttpPost("{text}", Name = "ReceivePost")]
public string ReceivePost(string text)
[HttpPost]
public string Area(int altitude , int height)
{
//DBchat.SendPost(ReceivedPost);
return text;
return $"Первое значение {altitude} и второе значение {height}";
}
}
}