title: How to put HTTP Basic Auth as Part of Sonatype Nexus URL for artifact Download?
body: <p>I am able to download the file from Sonatype Nexus using HTTP Basic Authentication Credentials in the HTTP Header. </p>
  
  <p>But I am not able to achieve this by putting in the credentials as part of the url - something like this:</p>
  
  <pre><code>http://admin:admin123@nexus.example.com/nexus/service/local/artifact/maven/content?g=com.test&amp;a=project&amp;v=1.0&amp;r=test_repo_1_release
  </code></pre>
  
  <p>Does anyone know why or how I can achieve the same thing without using auth in headers?</p>
  
  <p>PS: this is a test environment - hence no SSL.</p>