Il metodo standard per passare parametri dal client al server è quello dei parametri contenuti nei form HTML.
Un esempio:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title></title>
</head>
<body>
<h2>GET</h2>
<form action="http://127.0.0.1:12347/action" method="get">
<input type="text" name="var">
<input type="submit" value="invia">
</form>
<h2>POST application/x-www-form-urlencoded</h2>
<form action="http://127.0.0.1:12347/action" method="post">
<input type="text" name="var">
<input type="submit" value="invia">
</form>
<h2>POST multipart/form-data</h2>
<form action="http://127.0.0.1:12347/action" method="post" enctype="multipart/form-data">
<input type="text" name="var">
<input type="submit" value="invia">
</form>
</body>
</html>