How do i use multipart Content?

  • Im trying to use multipart content but i cant get it to work. I need to add this:

    Content-Disposition: form-data; name="license"
    Content-Disposition: form-data; name="computer-name"
    Content-Disposition: form-data; name="device"
    Content-Disposition: form-data; name="version"

    These are the headers:

    Connection: keep-alive
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) APP_NAME/5.4.1 Chrome/83.0.4103.122 Electron/9.3.1 Safari/537.36
    Content-Type: multipart/form-data; boundary=----WebKitFormBoundary2GnbICHiBs83G6nq
    Accept: */*
    Sec-Fetch-Site: cross-site
    Sec-Fetch-Mode: cors
    Sec-Fetch-Dest: empty
    Accept-Language: en-US
    Accept-Encoding: gzip, deflate

  • Admin

    Select multipart in the request type of the request block, and then hover with your mouse on the box where you can write the multipart content, it will show you the syntax you need to use.

  • @Ruri Could you give me an example please, i tried it a few times but from what it seems i wasn't able to get it right.

  • Admin

    Use the search function of the forum, type "multipart", you'll find plenty of threads with examples

  • @Ruri Alright got it working thanks

Log in to reply