Actually use the api url from the config