Api server working