unless @api_url.nil? is not need here.