Basic example to demonstrate how to encode json data and POST it to an arbitrary web service.