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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -