adding config values on endpoint and rest call config