node api working