teapot-server
Version:
An Express.js Web server that handles teapot requests according to RFC 2324.
22 lines (17 loc) • 608 B
HTML
<html lang="en">
<head>
<title>RFC 2324 HTTP Teapot Server</title>
<meta charset="utf-8" />
<link rel="icon" type="image/vnd.microsoft.icon" href="images/favicon.ico" />
</head>
<body style="text-align: center;">
<h2>RFC 2324 HTTP Teapot Server</h2>
<div>
<p>To ask the teapot to brew coffee, please click the button:</p>
<input id="btnClickMe" type="button" value="Click Me!" />
</div>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script type="text/javascript" src="script.js"></script>
</body>
</html>