Only use global rest api url if rest api settings are enabled