Useful for creating temporary API with required response as per the request