Is it possible to filter options requests in chrome inspector?
Google Chrome-DevtoolsGoogle Chrome-Devtools Problem Overview
I'm building a web application which uses CORS to communicate with it's server.
This means that every request is preceded by one with OPTIONS method.
Is it possible to filter those out in inspector? It makes a lot of unnecessary clutter on network tab.
Google Chrome-Devtools Solutions
Solution 1 - Google Chrome-Devtools
Yes, you can use -method:OPTIONS
in the filter of the Network panel to show all methods apart from ones with type OPTIONS
. If you omit the preceeding -
, it will only show methods of type OPTIONS
.
Example
You can read more about filtering in the Network panel here.
Solution 2 - Google Chrome-Devtools
Firefox Developer Edition Network Panel shows OPTIONS requests without any struggle.