Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome developer tools - Network - how to filter only POST and PATCH requests?

In the Chrome browser - Chrome developer tools - Network - I can show only POST requests by putting "method:POST" in the Filter search box. What filter should I use in order to see both PATCH and POST requests?

like image 724
Jaxx Avatar asked Feb 13 '17 11:02

Jaxx


People also ask

How do I filter in dev tools?

Filtering by Domains and Status Codes You can filter on things like domain, status code, response header, etc. Inside the filter tool search pane, type in the domain or status code to see their values as applied on the web page you're currently on.


1 Answers

The filter option is quite powerful, but it's limited to only using AND (conjunction). So simple workaround would be to use negatives... For instance, in your case you could create a filter like this:

-method:GET -method:OPTIONS -method:PUT

This should filter out most of the requests. If you have other offending HTTP verbs you can easily add them.

like image 111
Igor Avatar answered Sep 21 '22 19:09

Igor