Suppose you need to capture dynamic content loaded via AJAX requests on a website. By using the JSON Response feature, you can extract these requests and analyze them.

More and more pages load content dynamically. Besides waiting for the content to load, you might be interested in capturing the requests themselves, similar to the Network tab in DevTools.

You can use the JSON Response feature (json_response=true), which returns a JSON object with two fields: HTML and XHR. The XHR field is an array of requests (XHR, AJAX, Fetch) performed by the browser, including URL, body, headers, and more.