Show only HTTP status

Terminal
curl -s -o /dev/null -w "%{http_code}\n" <url>