feat: add additional vars to POST requests #290
This commit is contained in:
parent
5b8f88cfef
commit
0a4e419fb3
1 changed files with 27 additions and 5 deletions
|
@ -1,13 +1,35 @@
|
||||||
<html>
|
|
||||||
<head><title>Post Test</title></head>
|
<head><title>Post Test</title></head>
|
||||||
|
<html>
|
||||||
<body>
|
<body>
|
||||||
<h1>Credentials over HTTP POST test</h1>
|
<h1>Credentials over HTTP POST test</h1>
|
||||||
<p>This is a test to demonstrate sending credentials over POST instead of requiring HTTP Basic. If you use this, be sure to secure the app/site with HTTPS!</p>
|
<p>This is a test to demonstrate sending credentials over POST instead of requiring HTTP Basic. If you use this, be sure to secure the app/site with HTTPS!</p>
|
||||||
<form method="POST" action="http://localhost:2222/ssh/host/192.168.0.1">
|
<form method="POST" action="http://localhost:2222/ssh/host/192.168.0.1">
|
||||||
|
<p>
|
||||||
<label for="username">Username</label>
|
<label for="username">Username</label>
|
||||||
<input name="username">
|
<input name="username">
|
||||||
|
</p>
|
||||||
<label for="userpassword">Password</label>
|
<label for="userpassword">Password</label>
|
||||||
<input name="userpassword" type="password">
|
<input name="userpassword" type="password">
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="header">Header text</label>
|
||||||
|
<input name="header" value="This is a test">
|
||||||
|
<p>
|
||||||
|
<label for="headerBackground">Header Background Color</label>
|
||||||
|
<input name="headerBackground" value="red">
|
||||||
|
</p>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Cursor Blink:</legend>
|
||||||
|
<div>
|
||||||
|
<input type="radio" id="false" name="cursorBlink" value="false"
|
||||||
|
checked>
|
||||||
|
<label for="false">False</label>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="radio" id="true" name="cursorBlink" value="true">
|
||||||
|
<label for="true">True</label>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
<button>Login</button>
|
<button>Login</button>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue