Achieved a console log while processing get in nodejs