Multipart Problem



  • Hey here my screenshots for packets from an android app to get login. It uses multipart for login, i've searched forum for how to use multipart on openbullet but i think there is still some problem.
    Here my screenshots for packets and my config.
    515ddc59-23f4-4746-bcd9-64f3c35858cc-image.png
    80d3fccc-2ae7-4251-baf0-25e63e55d047-image.png
    bcad46a3-877f-4c44-9a47-99adef73a612-image.png
    63ecc0bb-9c16-435f-9ede-b37174295855-image.png

    REQUEST GET "https://___________________/v1/token" 
      
      HEADER "Host: __________________" 
      HEADER "accept-language: en-US" 
      HEADER "x-device-id: e214a69e22e402b5" 
      HEADER "x-app-version: android-1.0.8" 
      HEADER "accept-encoding: gzip" 
      HEADER "user-agent: okhttp/3.12.1" 
    
    #REQUEST2 REQUEST POST "https://_____________/v1/token" Multipart 
      
      STRİNGCONTENT "username: testuser" 
      STRİNGCONTENT "password: testpass" 
      HEADER "accept-language: en-US" 
      HEADER "x-device-id: e214a69e22e402b5" 
      HEADER "x-app-version: android-1.0.8" 
      HEADER "accept-encoding: gzip" 
      HEADER "user-agent: okhttp/3.12.1" 
      HEADER "Host: _________________" 
    
    
    

    First i send get request to api for get cookies and then i'm sending post request with username and password but it says me " {"error":{"type":"Validation","code":"invalid_value","message":"This value is invalid","parameter":"username","errors":{"username":{"code":"invalid_value","message":"This value is invalid"}}}}
    "
    And i don't know what it seems like "STRİNGCONTENT" it must be STRINGCONTENT but i'm not able to change it


Log in to reply