title: CMD send request to API
body: <p>How could I send an HTTP request via Windows CMD to a remote API? For example</p>
  
  <pre><code>http://example.com/api/1
  </code></pre>
  
  <p>would return a JSON object.</p>
  
  <p>I've seen some useful tools like cURL for windows, but if its possible I'd like to avoid installing any 3rd party software for this. In addition, what I'd like is sending the request, and save the response as a .txt file (call it resp.txt)</p>