Restfull api example write in nodeJS