lundi 4 avril 2016

Difference between two approaches to pass parameters to web server?

I am writing my web server and suddenly this question came into my mind.

There are two ways to pass parameters via a GET method. First is to user get parameters, such as url/?para=var or so. But I can also hard write this parameter in URL as long as my backend parser knows it, like url//. What's the difference between those methods and which is better?




Aucun commentaire:

Enregistrer un commentaire