AutoValidateAntiforgeryToken failing for API

后端 未结 0 618
南笙
南笙 2020-12-17 07:29

In my ASP.NET Core API (C# 9, .NET 5) I have a simple POST method that works as expected. Now I\'m trying to add XSRF protection. The post is always returning a 400 now.

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