© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
✅ AutoValidateForgeryToken with fetch API - C#
C
C#
•
2y ago
•
2 replies
gio735
✅ AutoValidateForgeryToken with fetch API
Hello
, how can I pass the forgery token to the fetch API
?
I have tried putting it into the header as
X-CSRF-TOKEN
X-CSRF-TOKEN
which seemingly creates token cookie
, but it still can
't reach specific Action
Similar Threads
Fetch api response status code always 200
C
C# / help
4y ago
❔ Blazor .NET 8 RenderModeInteractiveAuto - fetch data via API
C
C# / help
3y ago
✅ Fetch
C
C# / help
3y ago