there's also magic/save (save.c). put something like this inside <body> tag.

<form action="http://www.example.com/magic/save/foo" enctype="multipart/form-data" method="post">
<p>
Type some text (if you like):<br>
<input type="text" name="textline" size="30">
</p>
<p>
Please specify a file, or a set of files:<br>
<input type="file" name="datafile" size="40">
</p>
<div>
<input type="submit" value="Send">
</div>
</form>


On Thu, Jan 22, 2015 at 9:45 AM, Skip Tavakkolian <skip.tavakkolian@gmail.com> wrote:
there's also /sys/src/cmd/ip/httpd/wikipost.c

are you looking for the html page?

On Thu, Jan 22, 2015 at 9:37 AM, Skip Tavakkolian <skip.tavakkolian@gmail.com> wrote:
take a look at pegasus and if you're using plan9/386 doing it with a little Go app is very easy.

On Thu, Jan 22, 2015 at 9:31 AM, Steve Simon <steve@quintile.net> wrote:
anyone have an example of doing a simple web page with a POST form,
I want somthing like the wiki, but just a single page of text
that can be edited in a form using a POST method.

on plan9 of course.

I know I am being lazy and I just need to RTFM but if somone has a recipie
already done that works...

Thanks,

-Steve