javascript - When is it recommended to pass a parameter as a query string and when should they be passed in the URL's path? -


are there best practices when parameter should passed via url's path instead of query string?

/test/foo vs /test?id=foo

here asp.net routing informative tutorial question. url routes , every url can't mapped route if not following pattern site. , benefit of route ease of readability nothing else.


Comments