Notice that I've added newPostRequest and newGetRequest to make things cleaner. No need to change it here though.