Adds HTTP POST request and response handling.