Burp Suite User Forum

Create new post

api to toggle request method and body encoding

fa1ntStar | Last updated: Apr 09, 2024 01:49AM UTC

Hello Is there some api support to toggle http request? I konw the toggleRequestMethod can be use to toggle method from GET and POST,is there some one support toggle param to mutipart param in montoya api(like use it in the gui)?

Hannah, PortSwigger Agent | Last updated: Apr 10, 2024 10:27AM UTC

Hi

The Montoya equivalent of this functionality is HttpRequest.withTransformationApplied(HttpTransformation.TOGGLE_METHOD)

Could you provide more information about what you mean regarding parameters?

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.