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

前端 未结 3 1449
北恋
北恋 2021-01-31 13:54

In Chrome browser - Chrome developer tools - Network - I can show only POST requests by putting \"method:POST\" in the Filter editbox. What filter should I use in order to see b

3条回答
  •  再見小時候
    2021-01-31 14:45

    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 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.

提交回复
热议问题