Home Laptops & Desktops Using CURL to get HTTP/S Status CodesKerry Cordero·Laptops & DesktopsServers·August 4, 2021·1 min read ~ curl -Is https://{SITE}.com | head -1 HTTP/2 200 ➜ ~ curl -Is https://{SITE}.com/login.asp | head -1 HTTP/2 404 ➜ ~ curl -Is http://{SITE}.com | head -1 HTTP/1.1 302 Redirect ➜ ~ curl -Is http://{SITE}.com/login.asp | head -1 HTTP/1.1 302 Redirect