title: How to send HTTP request from Java
body: <p>i'm creating java module to parse JSON file.</p>
  <p>To receive file i need to send HTTP request. When I use curl my request looks like this:</p>
  <pre><code>curl -X GET &quot;https://***&quot; -H &quot;accept: application/json&quot; -H &quot;apikey: ***&quot;
  </code></pre>
  <p>How can I send the equivalent HTTP request from Java</p>