moonbridge

view example_webpage.html @ 329:fb8f86d3703e

Make moonbridge_io.tcplisten(nil, port) accept both IPv6 and IPv4 connections independently of operating system setting; if first argument is non-nil and resolves to an IPv6 address, never accept IPv4 connections
author jbe
date Mon Jan 04 04:09:35 2021 +0100 (12 days ago)
parents f6d3b3f70dab
children
line source
1 <html lang="en">
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4 <link href="example_webpage.css" rel="stylesheet" type="text/css">
5 <title>Moonbridge Network Server for Lua Applications &ndash; Example Application</title>
6 </head>
7 <body>
8 <h1>Moonbridge Network Server for Lua &ndash; Example Application</h1>
9 <h2>Test POST request with file upload</h2>
10 <form action="/post_example" method="POST" enctype="multipart/form-data">
11 Files: <input type="file" name="files" multiple>
12 Comment: <input type="text" name="comment">
13 <input type="submit">
14 </form>
15 </body>
16 </html>

Impressum / About Us