20 lines
528 B
HTML
20 lines
528 B
HTML
<html>
|
|
<head>
|
|
<title>POST example</title>
|
|
</head>
|
|
<body>
|
|
<h1> POST example </h1>
|
|
<form action="index.html" method="POST">
|
|
<input type="text" name="name" value="a simple name"/> <br/>
|
|
<input type="text" name="text" value="a tiny text"/>
|
|
<input type="submit" value="POST"/>
|
|
</form>
|
|
|
|
<form action="index.html" method="GET">
|
|
<input type="text" name="name" value="a simple name"/> <br/>
|
|
<input type="text" name="text" value="a tiny text"/>
|
|
<input type="submit" value="GET"/>
|
|
</form>
|
|
</body>
|
|
</html>
|