Hello, has anyone managed to send a file with the HTTP request plugin? If yes, c

Hello, has anyone managed to send a file with the HTTP request plugin? If yes, could you explain how to set the parameters? Thank you....

OriginalPostID-106410

OriginalPostID-106410

  Discussion posts and replies are publicly visible

Parents
  • You have to post something like this

    POST /upload?upload_progress_id=12344 HTTP/1.1
    Host: localhost:3000
    Content-Length: 1325
    Origin: http://localhost:3000
    Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryePkpFF7tjBAqx29L
    <other headers>

    ------WebKitFormBoundaryePkpFF7tjBAqx29L
    Content-Disposition: form-data; name="MAX_FILE_SIZE"

    100000
    ------WebKitFormBoundaryePkpFF7tjBAqx29L
    Content-Disposition: form-data; name="uploadedfile"; filename="hello.o"
    Content-Type: application/x-object

    <file data>
    ------WebKitFormBoundaryePkpFF7tjBAqx29L--
Reply
  • You have to post something like this

    POST /upload?upload_progress_id=12344 HTTP/1.1
    Host: localhost:3000
    Content-Length: 1325
    Origin: http://localhost:3000
    Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryePkpFF7tjBAqx29L
    <other headers>

    ------WebKitFormBoundaryePkpFF7tjBAqx29L
    Content-Disposition: form-data; name="MAX_FILE_SIZE"

    100000
    ------WebKitFormBoundaryePkpFF7tjBAqx29L
    Content-Disposition: form-data; name="uploadedfile"; filename="hello.o"
    Content-Type: application/x-object

    <file data>
    ------WebKitFormBoundaryePkpFF7tjBAqx29L--
Children
No Data