HttpPost not working in .Net, Orchard CMS project #16370
Answered
by
weirdyang
sushmita-inamdar
asked this question in
Q&A
-
Hi, I have several GET requests in my .Net, Orchard project and I wanted to add a POST request as below -
The above method should take a list of ids as input and fetches the parking occupancies for each of those ids. Is there any modifications or any code setting changes required to handle POST requests in my project? |
Beta Was this translation helpful? Give feedback.
Answered by
weirdyang
Jun 27, 2024
Replies: 1 comment 3 replies
-
Are these controllers in a module or in the web application itself? |
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
probably an authentication issue, try adding these attributes to the controller to confirm
[IgnoreAntiforgeryToken, AllowAnonymous]