What does the .AspNetCore.Antiforgery cookie do?

后端 未结 0 1802
清酒与你
清酒与你 2021-01-21 04:40

I have this action method:

    [HttpPost]
    [ValidateAntiForgeryToken]
    public IActionResult Create(City city)
    {
        //do something with the City
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题