title: Not able to upload using CURl in nexus 2
body: <p>While executing the below command:-</p>
  
  <p>--- curl -v -u admin:admin123 --upload-file "/f/docs/java/FileUploadApplet.jar" <a href="http://localhost:8081/nexus/File/FileUploadApplet.jar" rel="nofollow noreferrer">http://localhost:8081/nexus/File/FileUploadApplet.jar</a> ---</p>
  
  <p>Not able to upload the artifact, getting the below error:-</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt; HTTP/1.1 405 HTTP method PUT is not supported by this URL
  &lt; Date: Mon, 30 Jul 2018 12:49:49 GMT
  &lt; Server: Nexus/2.14.9-01
  &lt; X-Frame-Options: SAMEORIGIN
  &lt; X-Content-Type-Options: nosniff
  &lt; Content-Length: 0
  * HTTP error before end of send, stop sending</code></pre>
  </div>
  </div>
  </p>