aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_pastebin/priv/index.html
blob: 1c7e2eba1fd8227d4b6ebbe38e60015dbe534560 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
	<head>
		<title>Simple Pastebin</title>
	</head>
	<body>
		<h1>Simple Pastebin</h1>
		<p>
			You can paste your text into the text field to submit, or you can
			capture the output of a command with:
		</p>
		<code>
			<i>command</i> | curl -i --data-urlencode paste@- localhost:8080
		</code>
		<form action="/" method="post">
			<textarea cols="80" rows="15" name="paste"></textarea>
			<div>
				<button type="submit">Upload your code</button>
			</div>
		</form>
	</body>
</html>