A function that wraps ordinary request handler and automatically parse posts.