Try one of the following examples:
Dump HTTP request
Dynamic website using a template engine
HTML form
File upload form
Session demo
Login demo (HTTP basic auth)