title: How to use CURL command in groovy script
body: <p>I am using below curl command:</p>
  
  <pre><code>curl -u "nnarayan1" https://ipsddress:port/api/v3/orgs/RB-Health-rbESB/repos --insecure
  </code></pre>
  
  <p>How can I get output of above curl command using groovy scripting?</p>
  
  <p>Kindly suggest groovy script for this.</p>
  
  <p>I tried different solution from stackoverflow, none of them is working.</p>