Browse Source

Added httpPost and allowanonymous attributes to shortener api

tags/2.0.2
Teknikode 5 years ago
parent
commit
be166a55c0
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Teknik/Areas/API/Controllers/APIv1Controller.cs

+ 2
- 0
Teknik/Areas/API/Controllers/APIv1Controller.cs View File

@@ -158,6 +158,8 @@ namespace Teknik.Areas.API.Controllers
}
}

[HttpPost]
[AllowAnonymous]
public ActionResult Shorten(string url, bool doNotTrack = false)
{
try

Loading…
Cancel
Save