Rework client to support POST requests.