[GH-ISSUE #993] Enhancement: export response body as JSON formatted/beauty #986

Open
opened 2026-03-03 19:23:33 +03:00 by kerem · 4 comments
Owner

Originally created by @kikeenrique on GitHub (Sep 14, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/993

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

2.32.1

macOS Version? (Ex. mac 10.14)

macOS 11.5.2

Steps to reproduce

When selecting a request, you can export it.

Expected behavior

Currently, my workflow sometimes is to:

(I can change some steps and get JSON response field on Proxyman)

On export, it would be nice to have an option to export as JSON beautified, as it's seen on JSON response field on Proxyman.

Screenshots (optional)

Originally created by @kikeenrique on GitHub (Sep 14, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/993 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) 2.32.1 ### macOS Version? (Ex. mac 10.14) macOS 11.5.2 ### Steps to reproduce When selecting a request, you can export it. ### Expected behavior Currently, my workflow sometimes is to: - export a request response as "Response Body", - open the file, - go to https://jsonformatter.org - Reformat - (I can change some steps and get JSON response field on Proxyman) On export, it would be nice to have an option to export as JSON beautified, as it's seen on JSON response field on Proxyman. ### Screenshots (optional)
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 14, 2021):

Thanks. I'm able to reproduce your issue 😄 It should export a formatted body if possible.

I'm going to fix it and send you a Beta build this week 👍

<!-- gh-comment-id:919147902 --> @NghiaTranUIT commented on GitHub (Sep 14, 2021): Thanks. I'm able to reproduce your issue 😄 It should export a formatted body if possible. I'm going to fix it and send you a Beta build this week 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 14, 2021):

To workaround, you can open the Body by VSCode, or your favorite Editor -> Then Saving it somewhere as you like.

When opening a body by the Editor, the body would be formatted properly.

Screen_Shot_2021-09-14_at_20_43_22
<!-- gh-comment-id:919173084 --> @NghiaTranUIT commented on GitHub (Sep 14, 2021): To workaround, you can open the Body by VSCode, or your favorite Editor -> Then Saving it somewhere as you like. When opening a body by the Editor, the body would be formatted properly. <img width="1192" alt="Screen_Shot_2021-09-14_at_20_43_22" src="https://user-images.githubusercontent.com/5878421/133270267-bf3c3060-ebaf-4cf0-8814-d77e5c0505f0.png">
Author
Owner

@kikeenrique commented on GitHub (Sep 14, 2021):

Ok, that's good enough for me.

<!-- gh-comment-id:919263613 --> @kikeenrique commented on GitHub (Sep 14, 2021): Ok, that's good enough for me.
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 15, 2021):

Fix with this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.32.1_Fix_Export_with_formatted_body.dmg

From now, you can right-click on the request -> Export -> Request/Response Body. If it's a valid JSON, it will formatted it 👍

<!-- gh-comment-id:919687381 --> @NghiaTranUIT commented on GitHub (Sep 15, 2021): Fix with this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.32.1_Fix_Export_with_formatted_body.dmg From now, you can right-click on the request -> Export -> Request/Response Body. If it's a valid JSON, it will formatted it 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#986
No description provided.