Hacker News new | ask | show | jobs
by danaris 1 hour ago
Or

you can have the backend at the first URL detect which action should be taken based on which button was pressed, and act accordingly—even up to passing control off entirely to a different route/method.