HTTPServer.html (964B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>HTTPServer Test</title> 5 <meta charset="UTF-8"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 7 </head> 8 <body> 9 Example of GET method<br> 10 <form action="http://127.0.0.1:8010" method="GET"> 11 Username<input type="text" name="user"><br> 12 Password<input type="text" name="pass"><br> 13 <input type="submit" value="Login"><br> 14 </form> 15 16 <p>Example of POST method</p> 17 <form action="http://127.0.0.1:8010" method="POST"> 18 Username<input type="text" name="user"><br> 19 Password<input type="text" name="pass"><br> 20 <input type="submit" value="Login"><br> 21 </form> 22 23 <p>Example of multi-part request</p> 24 <form action="http://127.0.0.1:8010" method="POST" enctype="multipart/form-data"> 25 Type your name<input type="text" name="uname"><br> 26 File<input type="file" name="attach1"><br> 27 File<input type="file" name="attach2"><br> 28 <input type="submit" value="Send to server"><br> 29 </form> 30 </body> 31 </html>