Added an example and e-2-e test for HTTP post.
Updated version.