21 lines
461 B
C#
21 lines
461 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Net;
|
|||
|
using System.Net.Http;
|
|||
|
using System.Web.Http;
|
|||
|
using System.Web.Http.Cors;
|
|||
|
|
|||
|
namespace api.securecall.Controllers
|
|||
|
{
|
|||
|
public class ItemController : ApiController
|
|||
|
{
|
|||
|
[Authorize]
|
|||
|
[EnableCors("*","*","*")]
|
|||
|
public HttpResponseMessage Get()
|
|||
|
{
|
|||
|
return Request.CreateResponse(HttpStatusCode.OK, "Successful Call!");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|