Improve PostRequest and add a mock post request