ruby on rails - Random GET requests for POST URLs -
in rails app, see crashes (airbrakes) below
abstractcontroller::actionnotfound:the action '6826' not found memberscontroller
investigating further, url configured receive put or post requests instead receives get. doesn't seem action of bots or smart user. browsers sometime send both , post requests when link clicked, should handled in server , redirected corresponding pages?
a browser send get
request when link clicked - unless there javascript telling otherwise. app should handle post
, put
requests data submission, get
requests data retrieval, , delete
requests data transmission. there several different causes of error, because representing post
or put
route using link or users typing url address bar.
Comments
Post a Comment