So, I basically just did a form and have it POST, but I then redirect to a GET so that people can refresh without their browsers getting shitty with them. The parameters from the post request are basically added onto the route, so /nations/{category}/{searchterm}. I thought this would make it fairly easy for us to add more parameters in the future, like if we want them to select how many results to show then we just do /nations/{category}/{searchterm}/{results}.
So, I basically just did a form and have it POST, but I then redirect to a GET so that people can refresh without their browsers getting shitty with them. The parameters from the post request are basically added onto the route, so /nations/{category}/{searchterm}. I thought this would make it fairly easy for us to add more parameters in the future, like if we want them to select how many results to show then we just do /nations/{category}/{searchterm}/{results}.