client api test