title: Pass username and password together with HTTP request
body: <p>In my Jenkins build I am using <a href="https://jenkins.io/doc/pipeline/steps/http_request/" rel="nofollow noreferrer">httpRequest</a> like this:</p>
  
  <p><code>httpRequest http://my-server.com</code></p>
  
  <p>I would like to add username and password authentication as well, something like:</p>
  
  <p><code>httpRequest http://my-server.com --username=myUsername --password=myPassword</code></p>
  
  <p>I didn't find any information about this on the documentation. Any idea how this could be done?</p>