Edit: apiHostTemp -> apiHost