Headers only
--head – performs HEAD http request (not GET).
curl --head https://www.wp.pl/
Content + headers
--get – performs GET request
-i – include headers
curl --get -i https://www.wp.pl/
--head – performs HEAD http request (not GET).
curl --head https://www.wp.pl/
--get – performs GET request
-i – include headers
curl --get -i https://www.wp.pl/