Hands-on task
Which code the site returned
The marketing team complains: the promo page http://localhost:8080/promo "won't open", while the home page http://localhost:8080/ works. The page text doesn't explain what's wrong. Find out which HTTP response code the server returns for the promo address and write it to /root/promo_code.txt — just the three-digit number.
- curl -I
- curl -w
- HTTP response codes