Multipart Form Data



  • I'm currently doing a config for a site which has multipart form data.

    ------WebKitFormBoundary3EkhCCKM5gPsXuP8
    Content-Disposition: form-data; name="_pd"

    originalRequestURLLocation=&signInPopup=Sign+in+into+Superdrug&j_username=<USER>&j_password=<PASS>&_csrf=<csrf>
    ------WebKitFormBoundary3EkhCCKM5gPsXuP8--

    So this is what i typed in the content:
    STRING:Content-Disposition: form-data; name="_pd"
    STRING:originalRequestURLLocation=&signInPopup=Sign+in+into+Superdrug&j_username=<USER>&j_password=<PASS>&_csrf=<csrf>

    And I got this in Request:
    alt text

    I've been trying to search this everywhere to no avail, including this forum. If this has been answered before, kindly reply with the link to the answer. Thanks in advance!


  • Admin

    Well you clearly didn't search well enough since a guy just posted something like this yesterday https://forum.openbullet.dev/topic/195/post-data-option/6
    The Content-Disposition line is automatically generated by OB you don't need to provide it. Just provide the second one.



  • alright i didnt know about the content-disposition part, and this have cleared my questions. thanks!


Log in to reply