Added Test echo posting
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
5fee059b51
commit
cd5d50f06b
@ -7,11 +7,11 @@ namespace NeDvachAPI.Controllers
|
||||
[Route("[controller]")]
|
||||
public class TestPostingController : ControllerBase
|
||||
{
|
||||
[HttpPost(Name = "TestPostPosts")]
|
||||
public Post ReceivePost([FromBody] Post ReceivedPost)
|
||||
[HttpPost("{text}", Name = "ReceivePost")]
|
||||
public string ReceivePost(string text)
|
||||
{
|
||||
//DBchat.SendPost(ReceivedPost);
|
||||
return ReceivedPost;
|
||||
return text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user