Browse Source

Added httpPost and allowanonymous attributes to shortener api

master
Teknikode 6 years ago
parent
commit
be166a55c0
  1. 2
      Teknik/Areas/API/Controllers/APIv1Controller.cs

2
Teknik/Areas/API/Controllers/APIv1Controller.cs

@ -158,6 +158,8 @@ namespace Teknik.Areas.API.Controllers @@ -158,6 +158,8 @@ namespace Teknik.Areas.API.Controllers
}
}
[HttpPost]
[AllowAnonymous]
public ActionResult Shorten(string url, bool doNotTrack = false)
{
try

Loading…
Cancel
Save