Output http codeΒΆ

curl -i https://example.com

or

curl -I https://example.com