title: Test file upload using HTTP PUT method
body: <p>I've written a service using HTTP PUT method for uploading a file.</p>
  <p>Web Browsers don't support PUT so I need a method for testing. It works great as a POST hitting it from a browser.</p>
  <p><strong>update</strong>: This is what worked. I tried Poster but it suffers from the same thing as using fiddler. You have to know how to build the request. curl takes care of the problem.</p>
  <pre class="lang-sh prettyprint-override"><code>curl -X PUT &quot;localhost:8080/urlstuffhere&quot; -F &quot;file=@filename&quot; -b &quot;JSESSIONID=cookievalue&quot;
  </code></pre>