Remotely/Remotely_Server/API/RemoteControlController.cs
2021-07-29 07:53:48 -07:00

25 lines
586 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace Remotely_Server.API
{
[Authorize]
[Route("api/[controller]")]
public class RemoteControlController : Controller
{
[HttpPost]
[EnableCors()]
public void Post([FromBody]string value)
{
}
}
}