Replies: 1 comment 3 replies
-
@kasif Oqtane requires a valid antiforgery token when calling POST, PUT, DELETE methods and using cookie authentication: Oqtane.Server\Security\AutoValidateAntiforgeryTokenFilter.cs |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Concerned Authority,
I am testing API that I have defined in the controller. When using "Get" method through swagger, it is working fine and i am getting the results.
However, when I am using "Post" method, it always gives me "Bad Request".
I tried to test "Post Method" for other module as well but i am seeing "Bad Request" error response every time.
Could you please let me know why I am seeing this?
Attache is the screenshots of Get and Post method.
Beta Was this translation helpful? Give feedback.
All reactions