Sure, we can split hairs about the definition of “visiting” a site. But like your wget example, at the very least the server gets your ip address. Then possibly a user agent string. Maybe follows a redirect. Maybe cookies. A lot of that depends on how secure and privacy oriented the http client is. And all that can happen without rendering a full html DOM, or executing js code.
Sure, we can split hairs about the definition of “visiting” a site. But like your wget example, at the very least the server gets your ip address. Then possibly a user agent string. Maybe follows a redirect. Maybe cookies. A lot of that depends on how secure and privacy oriented the http client is. And all that can happen without rendering a full html DOM, or executing js code.