puppygirl.systems/bracelet.html
2024-10-27 21:56:43 -07:00

44 lines
1.4 KiB
HTML

<!DOCTYPE html>
<!-- dumb pet couldn't figure out how to code this itself and made this one do so for it -6e6174 -->
<html>
<head>
<link rel="stylesheet" href="style.css">
<title>shock it</title>
</head>
<body>
<form action="/bracelet.html#" method="POST">
<fieldset>
<legend>type:</legend>
<label>
<input type="radio" name="type" value="zap" checked>
shock
</label>
<label>
<input type="radio" name="type" value="vibe">
buzz
</label>
<label>
<input type="radio" name="type" value="beep">
beep
</label>
</fieldset>
<fieldset>
<legend>strength:</legend>
<input type="number" name="strength" min="0" max="100" value="50">
</fieldset>
<fieldset>
<legend>message:</legend>
<textarea name="message" rows="4" cols="50">good drone</textarea>
</fieldset>
<button type="submit">submit</button>
</form>
<hr>
<h2>scripting</h2>
one may easily use this page from the command line with curl:
<code>curl -X POST 'https://puppygirl.systems/bracelet.html' -d 'type=zap&strength=20&message=test%20using%20curl'</code>
</body>
</html>