lundi 8 février 2016

Random GET requests for POST URLs

In a rails app, I see crashes frequently (airbrakes) like below

AbstractController::ActionNotFound: The action '6826' could not be found for MembersController

Investigating further, the URL is configured to receive only PUT or POST requests but instead receives GET. Doesn't seem to be action of bots or a smart user. Do browsers sometime send both GET and POST requests when a link is clicked, should it be handled in the server and redirected to corresponding pages?

Aucun commentaire:

Enregistrer un commentaire