get config from url