I've noticed in Chrome's dev tools, when you make a request to a url that ends up returning you a 301 redirect the following happens:
- The original request (a POST in this example) is written to the Network tab
- The server returns a 301 redirect to a different URL
- The original request details in the Network tab are overwritten with the redirect request, which is a GET request to the redirect URL
You can see the original request briefly before it is overwritten by the redirect. Is there anyway to preserve the original request details in the Network tab?
Update: Here's a video of the behavior.
You'll see when I hit the "Connect" button a new entry is added to the list of requests (to "/acl?apiKey=[whatever]"). When the server returns a redirect (to "/redirect?code=[whatever]") that requests overwrites the original request in devtools, making it impossible to see the details of that original request.