Re:Bypassing GitHub's OAuth Flow with a Head Request
by ryanisnan on Thursday November 07, 2019 @05:23PM
(#21477955)
Rails is not assuming that it's a POST. The conditional logic in the controller explicitly checks for a get, and then else's otherwise. This is an unfortunate consequence of not having routing go to specific methods, e.g. `def post():`.
[ Parent
| on HN ]