Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome not showing OPTIONS requests in Network tab

My web client application is setting HTTP POST requests via fetch API.

I see that OPTIONS preflight requests are sent via debugging proxy (Charles Proxy), but they are not displayed in Google Chrome Developer Tools\Network tab.

I don't have any filters setup on the network tab. I remember OPTIONS requests being visible there, but not anymore. How do I bring them back?

like image 581
Ubeogesh Avatar asked Aug 08 '19 10:08

Ubeogesh


People also ask

How do I see requests in Network tab?

Simply go to the page and open the network tab. You can see the network tab by hitting cmd + opt + j on your Mac or ctrl + shift + j in Windows. It will open up the console tab in DevTools by default. Once the console tab is open, simply click on the network tab to make it visible.

How do I enable Network tabs in Chrome?

Finding the Console/Network Tab in Google Chrome:Either click the three dots in the top right of your chrome browser to open the menu. Then, go to 'More tools > Developer Tools' and then switch to the Console Tab.

How do I read Network requests in Chrome for new tab or popup window?

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.


1 Answers

You'll need to go to: chrome://flags/#out-of-blink-cors, disable the flag, and restart Chrome.

This is an expected behavior change according to:
https://bugs.chromium.org/p/chromium/issues/detail?id=995740#c1

I originally came across this via:
https://support.google.com/chrome/thread/11089651?hl=en

like image 71
jms Avatar answered Sep 24 '22 13:09

jms