using System.Collections.Generic;
using System.Web.Http;
namespace ReinkeAppsApi.Controllers
{
[RoutePrefix("v1/quote")]
public class QuoteV1Controller : ApiController
{
[RequireHttps]
[Route("v1/quote/get")]
public IEnumerable<string> Get()
{
return new string[] { "I\'ve just picked up a fault in the AE35 unit. It\'s going to go 100% failure in 72 hours." };
}
[RequireHttps]
[Route("v1/quote/post")]
public void Post([FromBody]string value)
{
int i = 1;
i++;
}
}
}
Comments
0 B
|👍
/👎