Ruby Net:HTTP first version of the template tested on POST and GET requests.