Added initial version of post data handling.