validation API Demo