Since I upgraded to Chrome 72 the "Cookies" tab in Developer Tools -> Network -> A network request no longer shows the "Cookies" tab, and the request headers no longer include Cookies.
Furthermore, right clicking on a network request and selecting Copy -> Copy as cURL gives a curl
command without the proper request headers / cookies.
See screenshots comparing Chrome with Cookies tab / request headers, and Chrome without them.
To access this feature in Chrome, simply open the developer tools (command-option-I or command-option-J on a Mac) and select the Network option from the drop-down menu at the top. One last important thing to note: Chrome will only show Network requests that happen while the Network panel is open.
To check cookies in Chrome: Right-click and click on Inspect to open the developer console. Go to the Applications tab on the console. Expand the Cookies dropdown under the Storage section.
HttpWatch on Windows can record the network traffic generated when a new Chrome tab or window is opened by enabling auto-recording in Tools->Options->Recording. In the new window click on the HttpWatch icon to view the network trace.
Open your DevTools, select the network call you are interested in, right-click on it, then hit Copy and finally Copy as cURL. It's time to open Postman. Hit the Import button, then Paste Raw Text, and finally paste your network call from above.
I filed a bug report on the chromium project, and got an answer to disable and chrome://flags/#site-isolation-trial-opt-out
chrome://flags/#network-service
.
However, may affect things such as vulnerability to Spectre-like attacks. So I did not disable it.chrome://flags/#site-isolation-trial-opt-out
I did disable chrome://flags/#network-service
and now it works properly.
Chrome 78 fixes this, without the need for any special settings. It's out in Beta now (2019/9/19).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With