node rest client example