Under Review
Last Updated: 31 Jul 2019 18:06 by ADMIN
Imported User
Created on: 10 Aug 2018 04:59
Type: Feature Request
2
export to curl doesn't include the body of a request
I had request with json body, after exporting to curl, looking at the batch file, i didn't see the body part of the request
3 comments
ADMIN
Eric R | Technical Support Engineer
Posted on: 31 Jul 2019 18:06
Hi Rene,

The export to JSON feature is currently available. Let me provide an example in a few steps.

Step 1 - Ensure the request returns JSON.

​Step 2 -​ Use the Fiddler Composer and GET the following request: https://my-json-server.typicode.com/typicode/demo/posts

​Step 3 -​ Select the session

​Step 4 - In Fiddler, navigate to File -> Export Sessions -> Selected Sessions -> Raw Files

Step 5 - In the file explorer, navigate to the exported file and append the file name with a .json file extension.

The Raw Files output should look like the attached. Additionally, more details are available at the Save all AJAX JSON Data to File StackOverflow thread.

Please let me know if you need any additional information. Thank you for using Fiddler.


Regards,

Eric R
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Rene
Posted on: 26 Jul 2019 23:15

Hi Erick,

I want to export JSON

 

Regards

Rene.

Eric
Posted on: 10 Aug 2018 05:00
Currently, Fiddler's cURL Export only supports submission of bodies that are in application/x-www-form-urlencoded format. What's the Content-Type value of the request that you're trying to recreate?