The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

How to make a new HTTP request using the Montoya API

m | Last updated: Dec 25, 2022 07:19AM UTC

Hello. I'd like to request all requests once more with JSON data. There are methods to intercept requests and responses, but there seems to be no methods to build new requests. Also, I made an issue on GitHub. Can I check it? https://github.com/PortSwigger/burp-extensions-montoya-api/issues/17

Hannah, PortSwigger Agent | Last updated: Jan 03, 2023 10:32AM UTC

Hi

You can build a request to pass in using HttpRequest.httpRequest().

To issue your request, you would use Http.issueRequest().

Stephan | Last updated: Jan 18, 2023 02:52PM UTC

That works. However, the JavaDoc states, that httpRequest(httpService, String) and httpRequest(httpService, byte[]) can be used. However, I can only use the String variant.

Hannah, PortSwigger Agent | Last updated: Jan 20, 2023 11:19AM UTC