Scenario: We have a software that generates reports based on selected filters (checkboxes, radio buttons, dropdowns, text boxes) from a form. When a user clicks the "generate report" button, an API Request Header request is triggered and a downloadable pdf/csv report is generated.
I can view these requests in the browser's Network tab under:
Headers[tab] -> Request Headers - :path api/path/to/download/pdf
Headers[tab] -> Request URL: full/api/path/url/to/download/pdf
Is it possible to capture these request URLs using JavaScript or Java?