03 / Web / 25 min READ + PRACTICE
Proxies and request inspection.
Understand the client–proxy–server path, intercept your own traffic and preserve privacy.
What a proxy changes
A forward proxy receives a request from your browser or test script and sends it onward. An intercepting proxy can show and modify application requests in a controlled lab. HTTPS inspection requires a trusted test certificate, so use a dedicated browser profile and remove the certificate after the exercise.
Compare both sides
Point the lab browser at a local application and capture one request through an inspection proxy. Compare path, headers and response status. Identify which values are generated by the browser and which come from the server. Do not keep session cookies in exported notes.
Reason about trust
Proxies are observation points, not a guarantee that a request is safe. Ask where TLS terminates, who can read the content, and whether logs include secrets. Clear your browser profile and imported certificates when finished.
Try it in your lab
Draw a diagram of your local browser, proxy and local server; describe where HTTP headers can be observed.
Make sure it clicks
Why should a lab-only TLS certificate not remain trusted in your everyday browser?
A prompt you can adapt
Create a comparison table for my sanitized local request before and after passing through a proxy.How to set up OpenCode ↗