Skip to content

Instantly share code, notes, and snippets.

@phikal
Created May 3, 2015 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phikal/3254a5cd996c27527431 to your computer and use it in GitHub Desktop.
Save phikal/3254a5cd996c27527431 to your computer and use it in GitHub Desktop.
Minimal HTTP Submission Client for 4jhan (https://github.com/phikal/4jhan-server)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Minimal HTTP Submission Client</title>
</head>
<body>
<h1>4jhan MHSC</h1>
<i>Minimal HTTP Submission Client for 4jhan</i><br>
<a href='http://localhost:3000/list'>View List</a>
<form method='post' action='http://localhost:3000/upload' enctype="multipart/form-data">
<h3>Submit <input type='submit'></h3>
<input type='text' name='title' placeholder='Title'>
<input type='text' name='name' placeholder='Name'><br><br>
<input type='file' name='file'><br><br>
<textarea name="text" placeholder='Text'></textarea>
</form>
<hr/>
<form method='post' action='http://localhost:3000/comment' enctype="multipart/form-data">
<h3>Comment <input type='submit'></h3>
<input type='number' name='op' placeholder='OP'>
<input type='text' name='name' placeholder='Name'><br><br>
<input type='file' name='file'><br><br>
<textarea name="text" placeholder='Text'></textarea>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment