ProxymanApp / atlantis

Capture HTTP/HTTPS, and Websocket from iOS app without proxy.
https://proxyman.io
Apache License 2.0
1.25k stars 93 forks source link

some request body is empty. #149

Open yjdv opened 1 month ago

yjdv commented 1 month ago

using proximan with Atlantis some request succeeded or fail but the body is empty.

image

https://api-qa.bagelbrands.com/payment/v1/hostedPages

NghiaTranUIT commented 1 month ago

@yjdv can you share with me what URLSessionTask your Request use? Maybe I forgot to capture it, so the body is missing.

  1. Is it using URLSession.dataTask or something else?
  2. Can you share with me the Content-Length header and the Method of your Request?
https://api-qa.bagelbrands.com/payment/v1/hostedPages

It's the GET request, so there is no body.

yjdv commented 1 month ago

URLSession. Shared or Alamofire @. Method post URLsession with async await mostly. From: Noah Tran @.> Date: Saturday, July 20, 2024 at 9:29 PM To: ProxymanApp/atlantis @.> Cc: yjdv @.>, Mention @.***> Subject: Re: [ProxymanApp/atlantis] some request body is empty. (Issue #149) CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. @yjdv can you share with me what URLSessionTask your Request use? Maybe I forgot ZjQcmQRYFpfptBannerStart External Email Do not click any links or open any attachments unless you trust the sender and know the content is safe.

ZjQcmQRYFpfptBannerEnd CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

@yjdvhttps://urldefense.com/v3/__https:/github.com/yjdv__;!!PdM5GIU!WiSsdJm_uZX8PE9-lUVGU4m9syjoPvb75uw5H89EZoImNruwQFj04oFseGFUvp9maxMcoaUH356az4Mty7ilr-V8XO9VPz4H$ can you share with me what URLSessionTask your Request use? Maybe I forgot to capture it, so the body is missing.

  1. Is it using URLSession.dataTask or something else?
  2. Can you share with me the Content-Length header and the Method of your Request?

https://api-qa.bagelbrands.com/payment/v1/hostedPageshttps://urldefense.com/v3/__https:/api-qa.bagelbrands.com/payment/v1/hostedPages__;!!PdM5GIU!WiSsdJm_uZX8PE9-lUVGU4m9syjoPvb75uw5H89EZoImNruwQFj04oFseGFUvp9maxMcoaUH356az4Mty7ilr-V8XJZ3RalZ$

It's the GET request, so there is no body.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ProxymanApp/atlantis/issues/149*issuecomment-2241370274__;Iw!!PdM5GIU!WiSsdJm_uZX8PE9-lUVGU4m9syjoPvb75uw5H89EZoImNruwQFj04oFseGFUvp9maxMcoaUH356az4Mty7ilr-V8XLOFVi_s$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A6QMDNO4JVDXAQKDZVBPLSLZNMFFDAVCNFSM6AAAAABLGHY3FGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGM3TAMRXGQ__;!!PdM5GIU!WiSsdJm_uZX8PE9-lUVGU4m9syjoPvb75uw5H89EZoImNruwQFj04oFseGFUvp9maxMcoaUH356az4Mty7ilr-V8XAH9BWB4$. You are receiving this because you were mentioned.Message ID: @.***>

NghiaTranUIT commented 1 month ago

when you reproduce this again, please share with me the Content-Length header of your Request. I'd like to see and investigate the bug

yjdv commented 1 month ago

@.***

No header in this one From: Noah Tran @.> Date: Saturday, July 20, 2024 at 9:54 PM To: ProxymanApp/atlantis @.> Cc: yjdv @.>, Mention @.> Subject: Re: [ProxymanApp/atlantis] some request body is empty. (Issue #149) CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. when you reproduce this again, please share with me the Content-Length header ZjQcmQRYFpfptBannerStart External Email Do not click any links or open any attachments unless you trust the sender and know the content is safe.

ZjQcmQRYFpfptBannerEnd CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

when you reproduce this again, please share with me the Content-Length header of your Request. I'd like to see and investigate the bug

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ProxymanApp/atlantis/issues/149*issuecomment-2241379471__;Iw!!PdM5GIU!RvwSxcHExvwCeY-biBkdjP132FEdW3iSGu04XoOqel-yewP5jSTj4fAzLe2ekQh5ztbbSZmOFTRMUk-mUlaHIdXrgcfl499Q$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A6QMDNLDTCYSIQR3TUFTMTLZNMIFZAVCNFSM6AAAAABLGHY3FGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGM3TSNBXGE__;!!PdM5GIU!RvwSxcHExvwCeY-biBkdjP132FEdW3iSGu04XoOqel-yewP5jSTj4fAzLe2ekQh5ztbbSZmOFTRMUk-mUlaHIdXrgZAckBKq$. You are receiving this because you were mentioned.Message ID: @.***>