This is a migrated thread and some comments may be shown as answers.

Manipulate XML with FiddlerScript

1 Answer 249 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Pär
Top achievements
Rank 1
Pär asked on 17 Sep 2014, 01:50 PM
Hi,

Is there a simple way to manipulate / replace elements in a XML document using FiddlerScript?

BR Pär 

1 Answer, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 17 Sep 2014, 10:01 PM
FiddlerScript is basically JScript.NET, so you can use any of the .NET Framework's XML classes to manipulate XML content. Alternatively, if the task is simple, you can just use oSession.GetResponseBodyAsString() to get the content as a string and then you can manipulate that string and assign it back using oSession.utilSetResponseBody(sString).

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Fiddler Classic
Asked by
Pär
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Share this question
or