Henry Cipolla

Tech, gaming, motorsports, and whatever else

Testing multipart/form-data uploads with Post Test Server

The fact that I am getting feature requests means people are actually using my post test server. This makes me happy :) The most recent thing people asked for was multipart/form-data uploads. As an example for this behavior see my test form (which was submitted by a user who was super helpful).

<html>
  <body>
    <form action="http://posttestserver.com/post.php?dir=example" method="post" enctype="multipart/form-data">
      File: <input type="file" name="submitted">
      <input type="hidden" name="someParam" value="someValue"/>
      <input type="submit" value="send">
    </form>
  </body>
</html>

The resulting output should contain information about the file and a link to the actual uploaded file. Remember, this data is public and you should NOT upload private data.

Post a Response