mercredi 21 octobre 2020

Web routes: GET varaible or detailed paths

In order to show dynamically generated webpages (I am using Flask in python but this is a general question), should I use a GET varaible or have a detailed route path. i.e. should I do en.wikipedia.org/w/index.php?title=Path_(computing) or https://en.wikipedia.org/wiki/Path_(computing)

I can make it work with both approaches but I want to know what is best practice and what's the industry standard? and why?

Or is it just personal preference?

Thanks

Aucun commentaire:

Enregistrer un commentaire