How to convert the form-data body request to json body request automatically in fiddler everywhere

1 Answer 10 Views
Fiddler Everywhere
Zh
Top achievements
Rank 1
Zh asked on 26 Dec 2025, 07:19 AM

I have a C# rule script in fiddler classic, which convert the http request form-data body from "key1=value1" to json {"key1": "value1"}

I am trying to migrate to fiddler everywhere, but I have no idea how to achieve this in fiddler everywhere, where's rule script in fiddler everywhere?

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 26 Dec 2025, 07:34 AM

Hello Zh,

 

Fiddler Everywhere does not include a scripting engine; instead, it features the Rules user interface. This interface allows you to create rules based on different matching conditions and actions.

In your situation, you can create a rule that targets the specific endpoints and modifies both the HTTP request headers and body. For example, you might create a rule similar to the following:



Once the rules are created, they should be activated in the Rules tab.

And then any matching endpoint will have its request headers and body modified.

 

You can learn more about the Rules engine and see various examples for creating and using rules through the following articles:

https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/modify-traffic-with-rules 

https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/mocking-traffic-with-rules 

https://www.telerik.com/fiddler/fiddler-everywhere/documentation/modify-and-filter-traffic/conditions-and-actions 

https://www.telerik.com/fiddler/fiddler-everywhere/documentation/rules-presets 

 

Regards,
Nick Iliev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Zh
Top achievements
Rank 1
commented on 27 Dec 2025, 03:48 AM

How to modify body dynamically? likely

"key1=value1" to json {"key1": "value1"}

"anyKeyFromFrontend=anyValueFromFrontend" to json {"anyKeyFromFrontend": "anyValueFromFrontend"}



For number data, it will convert without quote

"anyKeyFromFrontend=1234" to json {"anyKeyFromFrontend": 1234}



I converted it in fiddler classic, with C# by parsing raw HTTP form-data body and human convention.
Nick Iliev
Telerik team
commented on 29 Dec 2025, 07:45 AM

Hey Zh,

 

At present, Fiddler Everywhere does not support dynamic data modifications, so you must use hardcoded values to create the above rule. I have submitted this as a feature request on a public GitHub thread, which you can monitor for updates: https://github.com/telerik/fiddler-everywhere/issues/123.

Tags
Fiddler Everywhere
Asked by
Zh
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or