Changes

Jump to navigation Jump to search
310 bytes added ,  15:07, 20 February 2012
===Content-Types===
 
The content-type of the input can easily be included, just add the following property to
the connection (in this example we explicitly store the input file as raw):
 
<pre class="brush:java">
// store input as raw
conn.setRequestProperty("Content-Type", "application/octet-stream");
</pre>
 
See [REST#PUT] ...
Find Java examples for all methods here:
administrator, Bureaucrats, editor, reviewer, Administrators
408

edits

Navigation menu