gibberish in the post body of request

2 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Nov 2016

    Posted 16 Nov 2016 Link to this post

    I am trying to figure out why I am getting gibberish in the post body of the following post request. The following request is from an IOS app. I get similar results from the Android app too.

    I do not get any security errors on the app (on iOS or ANdroid version) and everything works while I am capturing traffic. Can the post body be encrypted? or is it most likely compressed? There is an unusual header "x-Accepts: compression" Is there anyway to convert the gibberish to something readable? The responses also look similar to the request post body

     

    POST https://api.site.com/ HTTP/1.1
    Host: api.site.com
    x-auth-token: TOKEN
    Content-Type: application/x-www-form-urlencoded
    Connection: keep-alive
    X-Accepts: compression
    Accept: application/json
    User-Agent: APP
    Accept-Language: en-US;q=1, es-MX;q=0.9
    Accept-Encoding: gzip, deflate
    Content-Length: 89

    # ώ   F  u 2  + ώ# ώ#5 d ;o)Ǒ  , z  h R   L   F 

     

     

  2. David
    David avatar
    2 posts
    Member since:
    Nov 2016

    Posted 17 Nov 2016 in reply to David Link to this post

    I suspect that it's binary data, having Content-Type: application/x-www-form-urlencoded also points to it being binary. Is my assumption likely? 

    I also suspect that it's JSON converted to binary. Is there anyway to convert it back to something human readable?

Back to Top