[GH-ISSUE #760] post a video using alamofire multipart/form-data do not see the post data at all #755

Open
opened 2026-03-03 19:21:38 +03:00 by kerem · 9 comments
Owner

Originally created by @adamgf on GitHub (Jan 17, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/760

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

2.16.0 using Atlantis in iPhone app

macOS Version? (Ex. mac 10.14)

11.0.1 Beta

Steps to reproduce

Set up an iOS app to use Atlantis and Proxyman on mac.

Via iOS app post a valid mp4 file to Amazon S3 using iOS AlamoFire API

Expected behavior

To see the form data in the request body!!! Instead it says 'Empty Body'!!!

Screenshots (optional)

Screen Shot 2021-01-16 at 11 06 22 PM
Originally created by @adamgf on GitHub (Jan 17, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/760 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) 2.16.0 using Atlantis in iPhone app ### macOS Version? (Ex. mac 10.14) 11.0.1 Beta ### Steps to reproduce Set up an iOS app to use Atlantis and Proxyman on mac. Via iOS app post a valid mp4 file to Amazon S3 using iOS AlamoFire API ### Expected behavior To see the form data in the request body!!! Instead it says 'Empty Body'!!! ### Screenshots (optional) <img width="1294" alt="Screen Shot 2021-01-16 at 11 06 22 PM" src="https://user-images.githubusercontent.com/1305327/104834095-236f6e80-5852-11eb-8b32-3f6b7d2f4844.png">
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 17, 2021):

Look like it's a bug. I will try to reproduce and fix it 👍

<!-- gh-comment-id:761747900 --> @NghiaTranUIT commented on GitHub (Jan 17, 2021): Look like it's a bug. I will try to reproduce and fix it 👍
Author
Owner

@adamgf commented on GitHub (Jan 17, 2021):

Cool thanks @NghiaTranUIT! That will be really appreciated!

<!-- gh-comment-id:761752926 --> @adamgf commented on GitHub (Jan 17, 2021): Cool thanks @NghiaTranUIT! That will be really appreciated!
Author
Owner

@adamgf commented on GitHub (Jan 17, 2021):

I am not sure but I think the data may be AES256 encrypted so that may be why it is not being decrypted I do not need to see the entire multipart/form-data request body the binary data can just be stubbed out but I was more interested in seeing the key values for the other data that gets posted.

<!-- gh-comment-id:761753102 --> @adamgf commented on GitHub (Jan 17, 2021): I am not sure but I think the data may be AES256 encrypted so that may be why it is not being decrypted I do not need to see the entire multipart/form-data request body the binary data can just be stubbed out but I was more interested in seeing the key values for the other data that gets posted.
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 17, 2021):

To workaround, you can use normal SSL Proxying (by installing the certificate to iPhone and enable SSL Proxying on this domain) to see the multiple-part data from these Upload Requests.

I will check out the Atlantis to see if we can get the Encrypted Body from URLSession or not

<!-- gh-comment-id:761753322 --> @NghiaTranUIT commented on GitHub (Jan 17, 2021): To workaround, you can use normal SSL Proxying (by installing the certificate to iPhone and enable SSL Proxying on this domain) to see the multiple-part data from these Upload Requests. I will check out the Atlantis to see if we can get the Encrypted Body from URLSession or not
Author
Owner

@adamgf commented on GitHub (Jan 17, 2021):

The server does not accept the certificate.

<!-- gh-comment-id:761759173 --> @adamgf commented on GitHub (Jan 17, 2021): The server does not accept the certificate.
Author
Owner

@adamgf commented on GitHub (Jan 17, 2021):

You should be able to get the multipart/form data out of the request

<!-- gh-comment-id:761769778 --> @adamgf commented on GitHub (Jan 17, 2021): You should be able to get the multipart/form data out of the request
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 17, 2021):

Yup, Atlantis should be able to get the multipart body from both the request and response too 😄 I will notify you when I fix soon 👍

<!-- gh-comment-id:761769896 --> @NghiaTranUIT commented on GitHub (Jan 17, 2021): Yup, Atlantis should be able to get the multipart body from both the request and response too 😄 I will notify you when I fix soon 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 19, 2021):

@adamgf if you don't mind, please check out this working branch from Atlantis: https://github.com/ProxymanApp/atlantis/pull/49

You can use it by adding this Pod

pod 'atlantis-proxyman', :git => 'https://github.com/ProxymanApp/atlantis.git', :branch => 'feat/upload-task'
<!-- gh-comment-id:762604647 --> @NghiaTranUIT commented on GitHub (Jan 19, 2021): @adamgf if you don't mind, please check out this working branch from Atlantis: https://github.com/ProxymanApp/atlantis/pull/49 You can use it by adding this Pod ``` pod 'atlantis-proxyman', :git => 'https://github.com/ProxymanApp/atlantis.git', :branch => 'feat/upload-task' ```
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 21, 2021):

Just a friendly reminder that your request is implemented in Atlantis 1.6.0 🎉

You can update normally by pod update, It will get the latest version 🙌

<!-- gh-comment-id:764203213 --> @NghiaTranUIT commented on GitHub (Jan 21, 2021): Just a friendly reminder that your request is implemented in Atlantis 1.6.0 🎉 You can update normally by `pod update`, It will get the latest version 🙌
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#755
No description provided.