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

前端 未结 3 1392
甜味超标
甜味超标 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:18

    Unfortunately, you can't filter on multiple HTTP methods, or multiple pre-defined filters in general, such as using both method and domain.

    You also can't mix a pre-defined filter and a normal text based one, as I discovered when answering How to filter by both text and property in Chrome DevTool's network panel?

    You will have to filter one at a time, or alternatively if there's a lot of requests, you could export the HAR and filter based on the JSON output. I gave an example of parsing the JSON here if that helps.

提交回复
热议问题