Browse Source

Add sample file with a form using method POST

Marcos Kirsch 9 years ago
parent
commit
572732fd44
1 changed files with 10 additions and 0 deletions
  1. 10 0
      http/post.html

+ 10 - 0
http/post.html

@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="en"><head><meta charset="utf-8"><title>Post</title></head><body>
+<h1>Post</h1>
+This form uses POST method which is not supported by nodemcu-httpserver.<br>
+You should get an error when you submit.
+<form method="POST">
+   Whatever:<input type="text" name="whatever"><br>
+   <input type="submit" value="Submit">
+</form>
+</body></html>