mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 22:48:01 +02:00
* Refactored the WebAPI HTML test harnesses to allow testing via both 'multipart/form-data' and 'application/x-www-form-urlencoded' encodings. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
81 lines
2.5 KiB
HTML
81 lines
2.5 KiB
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="styles.html">
|
|
<title>Rivendell ADDCUT Service Test Harness</title>
|
|
</head>
|
|
<body bgcolor="darkgray">
|
|
<!-- TITLE -->
|
|
<table class="title-rounded-block">
|
|
<tr>
|
|
<td class="center-aligned">Rivendell ADDCUT Service Test Harness</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- URL Encoding -->
|
|
<table class="active-rounded-block">
|
|
<tr class="subtitle">
|
|
<td colspan="3">Via application/x-www-form-urlencoded Encoding</td>
|
|
</tr>
|
|
<tr><td colspan="2"> </td></tr>
|
|
<form action="/rd-bin/rdxport.cgi" method="post" enctype="application/x-www-form-urlencoded">
|
|
<input type="hidden" name="COMMAND" value="10">
|
|
<tr>
|
|
<td class="field-label">LOGIN NAME:</td>
|
|
<td><input type="text" name="LOGIN_NAME" size="20" maxlength="255"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="field-label">PASSWORD:</td>
|
|
<td><input type="password" name="PASSWORD" size="20" maxlength="32"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="field-label">TICKET:</td>
|
|
<td><input type="text" name="TICKET" size="40" maxlength="40"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="field-label">CART NUMBER:</td>
|
|
<td><input type="text" name="CART_NUMBER" size="20" maxlength="6"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="field-label"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="field-label"><input type="submit" value="OK"></td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
|
|
<!-- Multipart Encoding -->
|
|
<table class="active-rounded-block">
|
|
<tr class="subtitle">
|
|
<td colspan="3">Via multipart/form-data Encoding</td>
|
|
</tr>
|
|
<tr><td colspan="2"> </td></tr>
|
|
<form action="/rd-bin/rdxport.cgi" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" name="COMMAND" value="10">
|
|
<tr>
|
|
<td class="field-label">LOGIN NAME:</td>
|
|
<td><input type="text" name="LOGIN_NAME" size="20" maxlength="255"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="field-label">PASSWORD:</td>
|
|
<td><input type="password" name="PASSWORD" size="20" maxlength="32"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="field-label">TICKET:</td>
|
|
<td><input type="text" name="TICKET" size="40" maxlength="40"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="field-label">CART NUMBER:</td>
|
|
<td><input type="text" name="CART_NUMBER" size="20" maxlength="6"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="field-label"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="field-label"><input type="submit" value="OK"></td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
</body>
|
|
</html>
|