[GH-ISSUE #833] Multipart Form Tab #828

Open
opened 2026-03-03 19:22:14 +03:00 by kerem · 6 comments
Owner

Originally created by @VaslD on GitHub (Mar 22, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/833

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

Version 2.20.0 (22000)

macOS Version? (Ex. mac 10.14)

macOS Big Sur

Version 11.2.3 (20D91)

Steps to reproduce

Call any API with Multipart Form for arbitrary binary files.

Expected behavior

Would be really nice if there's a Multipart Form tab like Form that shows entry name and file pairs, preferably with individual files available for export/download.

Or better just a human-readable section that basically pretty-prints the whole binary mess.

Something like:

Part Name Content Type Value
image image/jpeg [Binary] ← Clickable for export

Instead of:

--Boundary+FC8B3E60558D113C
Content-Disposition: form-data; name="image"; filename="IMG_0127.JPG"
Content-Type: image/jpeg

ÿØÿàJFIFØØÿáŒExifMM*JR(‡iZØØ  ú üÿí8Photoshop 3.08BIM8BIM%Ԍُ²é€	˜ìøB~ÿÀüú"ÿÄ	
ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚	
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ

I know we have a Body tab that shows raw bytes as well as text for Multipart Form, but that's far from human-readable.

Originally created by @VaslD on GitHub (Mar 22, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/833 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) Version 2.20.0 (22000) ### macOS Version? (Ex. mac 10.14) macOS Big Sur Version 11.2.3 (20D91) ### Steps to reproduce Call any API with Multipart Form for arbitrary binary files. ### Expected behavior Would be really nice if there's a Multipart Form tab like Form that shows entry name and file pairs, preferably with individual files available for export/download. Or better just a human-readable section that basically pretty-prints the whole binary mess. Something like: Part Name | Content Type | Value -- | -- | -- image | image/jpeg | [Binary] ← Clickable for export Instead of: ``` --Boundary+FC8B3E60558D113C Content-Disposition: form-data; name="image"; filename="IMG_0127.JPG" Content-Type: image/jpeg ÿØÿà�JFIF���Ø�Ø��ÿá�ŒExif��MM�*������������������J�������R(�������‡i�������Z�������Ø������Ø���� ������� ������ú ������ü����ÿí�8Photoshop 3.0�8BIM������8BIM%�����Ԍُ�²é€ ˜ìøB~ÿÀ�üú"�ÿÄ����������� ÿÄ�µ���}�!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ``` I know we have a Body tab that shows raw bytes as well as text for Multipart Form, but that's far from human-readable.
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 22, 2021):

Hey @VaslD, can you check out this build: https://github.com/ProxymanApp/Proxyman/issues/827#issuecomment-803560921

We support multipart/form-data as you like 👍

<!-- gh-comment-id:803792810 --> @NghiaTranUIT commented on GitHub (Mar 22, 2021): Hey @VaslD, can you check out this build: https://github.com/ProxymanApp/Proxyman/issues/827#issuecomment-803560921 We support multipart/form-data as you like 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 22, 2021):

Ah, I understand what you mean. You would like to export each part of the multipart/form-data

<!-- gh-comment-id:803793191 --> @NghiaTranUIT commented on GitHub (Mar 22, 2021): Ah, I understand what you mean. You would like to export each part of the multipart/form-data
Author
Owner

@VaslD commented on GitHub (Mar 22, 2021):

Ah, I understand what you mean. You would like to export each part of the multipart/form-data

Yes. I see that you use Paw as well. Basically I'd like to have multipart form requests shown somewhat like in the API builder view of Paw, not the response view. Sometimes I have to capture real traffic from my iOS app, so Paw isn't always available.

This way it'll be easier to spot tiny key-value pairs (like "Content-Disposition: form-data; name: count; 25") in a sea of hexes. Also the ability to export (or even copy-paste sounds fine) each part of the Form individually makes debugging file integrity and obscure server errors like "Unknown Media Container" easier.

Thank you.

<!-- gh-comment-id:804065423 --> @VaslD commented on GitHub (Mar 22, 2021): > > > Ah, I understand what you mean. You would like to export each part of the multipart/form-data Yes. I see that you use Paw as well. Basically I'd like to have multipart form requests shown somewhat like in the API builder view of Paw, not the response view. Sometimes I have to capture real traffic from my iOS app, so Paw isn't always available. This way it'll be easier to spot tiny key-value pairs (like "Content-Disposition: form-data; name: count; 25") in a sea of hexes. Also the ability to export (or even copy-paste sounds fine) each part of the Form individually makes debugging file integrity and obscure server errors like "Unknown Media Container" easier. Thank you.
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 22, 2021):

It's possible to implement it since the code I prepare to parse the multipart/form-data is already finished in https://github.com/ProxymanApp/Proxyman/issues/827#issuecomment-803560921

I will support this feature in next releases 🙌

<!-- gh-comment-id:804118352 --> @NghiaTranUIT commented on GitHub (Mar 22, 2021): It's possible to implement it since the code I prepare to parse the multipart/form-data is already finished in https://github.com/ProxymanApp/Proxyman/issues/827#issuecomment-803560921 I will support this feature in next releases 🙌
Author
Owner

@NghiaTranUIT commented on GitHub (May 25, 2021):

Hey @VaslD I've implemented this feature. If you don't mind, please try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.26.0_Multipart_Form_Data_Previewer.dmg

  • You can preview the multipart/form-data with a nice table view
  • Export each part as a file 👍
Screen_Shot_2021-05-25_at_15_09_07
<!-- gh-comment-id:847667322 --> @NghiaTranUIT commented on GitHub (May 25, 2021): Hey @VaslD I've implemented this feature. If you don't mind, please try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.26.0_Multipart_Form_Data_Previewer.dmg - You can preview the multipart/form-data with a nice table view - Export each part as a file 👍 <img width="1978" alt="Screen_Shot_2021-05-25_at_15_09_07" src="https://user-images.githubusercontent.com/5878421/119465504-ea9a5580-bd6d-11eb-9d4d-3725a37f09ec.png">
Author
Owner

@VaslD commented on GitHub (May 29, 2021):

Sorry for the delay. I’ve been busy this week and hadn’t had the time to try the Beta. I’ll see if I can upgrade my copy tomorrow and give it a go.

The screenshot looks promising though. It’s exactly what I wanted and I think this addition will be very crucial to my workflow.

Thank you again for making it a reality.

  • Yi

On May 25, 2021, at 16:29, Nghia Tran @.***> wrote:


Hey @VaslD I've implemented this feature. If you don't mind, please try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.26.0_Multipart_Form_Data_Previewer.dmg

You can preview the multipart/form-data with a nice table view
Export each part as a file 👍


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

<!-- gh-comment-id:850885562 --> @VaslD commented on GitHub (May 29, 2021): Sorry for the delay. I’ve been busy this week and hadn’t had the time to try the Beta. I’ll see if I can upgrade my copy tomorrow and give it a go. The screenshot looks promising though. It’s exactly what I wanted and I think this addition will be very crucial to my workflow. Thank you again for making it a reality. - Yi > On May 25, 2021, at 16:29, Nghia Tran ***@***.***> wrote: > >  > Hey @VaslD I've implemented this feature. If you don't mind, please try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.26.0_Multipart_Form_Data_Previewer.dmg > > You can preview the multipart/form-data with a nice table view > Export each part as a file 👍 > > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub, or unsubscribe.
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#828
No description provided.