Added Test echo posting2
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cd5d50f06b
commit
13acfdc7da
@ -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}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user