add global base url setting to generic request