fake api for testing some spa applications