30 lines
No EOL
649 B
C#
30 lines
No EOL
649 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BirdsiteLive.Controllers
|
|
{
|
|
[ApiController]
|
|
public class InboxController : ControllerBase
|
|
{
|
|
[Route("/inbox")]
|
|
[HttpPost]
|
|
public async Task<IActionResult> Inbox()
|
|
{
|
|
var r = Request;
|
|
using (var reader = new StreamReader(Request.Body))
|
|
{
|
|
var body = await reader.ReadToEndAsync();
|
|
|
|
|
|
}
|
|
|
|
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
} |