Miscellaneous GET and POST request
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GET and POST</title>
</head>
<body>
<h3>GET</h3>
<form method="get" action="/register">
<input placeholder="enter username" name="username" type="text">
<input placeholder="enter password" name="password" type="password">
<button>submit</button>
</form>
<h3>POST</h3>
<form method="post" action="/register">
<input placeholder="enter username" name="username" type="text">
<input placeholder="enter password" name="password" type="password">
<button>submit</button>
</form>
</body>
</html>




Comments
Post a Comment