Skip to content

Consider throwing a MethodNotAllowedHttpException instead of BadRequestHttpException for Controller::requirePostRequest #13397

Closed Answered by brandonkelly
msbit asked this question in Ideas
Discussion options

You must be logged in to vote

Agree, that’s better. Just made that change for Craft 5 (77a88b3).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants