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

This commit is contained in:
rak
2022-10-18 20:35:11 +10:00
parent c661201812
commit 5fee059b51
6 changed files with 105 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
using Microsoft.AspNetCore.Mvc;
using System.Text.Json;
namespace NeDvachAPI.Controllers
{
[ApiController]
[Route("[controller]")]
public class TestPostingController : ControllerBase
{
[HttpPost(Name = "TestPostPosts")]
public Post ReceivePost([FromBody] Post ReceivedPost)
{
//DBchat.SendPost(ReceivedPost);
return ReceivedPost;
}
}
}