diff --git a/Controllers/TestPosting.cs b/Controllers/TestPosting.cs index dfeaf20..c036eef 100644 --- a/Controllers/TestPosting.cs +++ b/Controllers/TestPosting.cs @@ -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}"; } } }