Added more useful output, support for POST requests as well as GET requests