Add sample file with a form using method POST

This commit is contained in:
Marcos Kirsch 2015-04-18 23:12:04 -05:00
parent 3390d6f6e9
commit 572732fd44

10
http/post.html Normal file
View File

@ -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>