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

前端 未结 3 1397
甜味超标
甜味超标 2021-01-31 13:45

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:25

    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.

提交回复
热议问题