Rest request tester in node js