What have you tried looking up yourself? At the very least, if don't understand HTTP POST requests and HTML forms, you should go look those up. Weirdly,
I'd take a look at Flask, which is quite a small web framework. The Quickstart section is pretty good and there's a whole page titled "Accessing Request Data" that tells you, e.g. how to get access to the form data.
SimpleHTTPRequestHandler
doesn't seem to support POST requests (at least, it doesn't have a do_POST
method according to the docs. I suppose it really is meant to be quite simple.I'd take a look at Flask, which is quite a small web framework. The Quickstart section is pretty good and there's a whole page titled "Accessing Request Data" that tells you, e.g. how to get access to the form data.