added global config for REST API endpoint