Is it possible to filter options requests in chrome inspector?

后端 未结 2 1609
挽巷
挽巷 2021-01-31 13:42

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 pos

2条回答
  •  忘掉有多难
    2021-01-31 14:02

    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

    Before:

    After:

    You can read more about filtering in the Network panel here.

提交回复
热议问题