the command is:

curl -u username:password http://ip_or_dns_domain:8081/service/rest/v1/status -I

response:

HTTP/1.1 200 OK
Date: Mon, 20 Apr 2026 20:37:46 GMT
Server: Nexus/3.71.0-06 (OSS)
X-Content-Type-Options: nosniff
Content-Length: 0