From the Proxy > Intercept tab, you can intercept HTTP requests and responses sent between the browser and the target server. This enables you to study how the website behaves when you interact with it.
The intercept feature enables you to perform the following useful actions:
If you want a quick introduction to intercepting messages, you can follow the tutorials in the Getting started section:
When you intercept messages, the request details are populated in the Proxy > Intercept tab. You can see details of the target server at the top of the panel. For HTTP requests you can manually edit the target server. Select the Edit target menu .
The panel contains the following controls:
Intercept on/off - Use this button to toggle all interception on and off:
You can also right-click to access different context menus in the message editor, or the list of intercepted messages.
You can use hotkeys to forward or drop intercepted messages. By default, Ctrl+F forwards the selected messages. You can also set a hotkey to forward all intercepted messages.
For more information, see hotkey settings.
The table in the top half of the panel shows you the intercepted messages. Right-click the table to access the context menu. The available options if you only have one message selected, or multiple messages.
You can select multiple messages from the table:
You can add notes and highlights to intercepted messages. This enables you to describe the purpose of different messages, and to flag interesting messages for further investigation.
Any annotations that you make also appear against the item in the HTTP history. If you apply an annotation to an HTTP request, the annotation appears again if the corresponding response is also intercepted.
To highlight an intercepted message, right-click the message in the table and selection Highlight. Then select a color from the list.
To add a note, right-click the message in the table and select Add Notes. Enter your comment in the Notes panel.
The message editor in the main panel shows the most recently selected intercepted message. From here you can analyze the message and perform actions on it.
Right-click the message editor to see the context menu and access the standard functions. You can also perform the following actions for HTTP messages:
You can use the Inspector to edit the protocol for the request. For more information, see the HTTP/2 documentation.