1
vote
1answer
575 views

How can I use curl to upload and post a file with the following form?

The form html from the page I'm trying to upload to is as follows: <form action="upload_handler" method="POST" enctype="multipart/form-data"> <input type="file" name="myfile"> ...
0
votes
1answer
178 views

Apache strange behaviour:“get” works, but “post” doesn't

Ok. I have a script that was supposed to post data to another web page. I use curl and I can request a page with "get" but not with "post". I wrote a python script that works from CLI. When I try to ...
3
votes
4answers
3k views

Why does squid reject this multipart-form-data POST from curl?

This fails: $ curl --trace multipart-fail.log -F "source={}" http://127.0.0.1:3003/jslint With a squid status 417 error, ERR_INVALID_REQ. trace of failing curl request trace of successful curl ...