Added a client endpoint for POSTing data.