mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Added httpPost and allowanonymous attributes to shortener api
This commit is contained in:
parent
c3292cee70
commit
be166a55c0
@ -158,6 +158,8 @@ namespace Teknik.Areas.API.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[AllowAnonymous]
|
||||
public ActionResult Shorten(string url, bool doNotTrack = false)
|
||||
{
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user