Hands-on task
Follow the redirect
The service at http://localhost/old responds with a redirect to /new. Follow the redirect chain and save the final content (after the redirect) into /root/final.txt. In the Site tab click the /old link — the browser follows the redirect on its own, while curl stops at it by default.
- curl
- http redirects
- location header
- response codes
- output redirection