Updated WebClient to be able to handle POST as well as GET requests.