title: HTTP Request Without curl or wget (Ubuntu Core Bash)
body: <p>How do I make a HTTPS (or HTTP) request in Ubuntu Core?
  The <em>curl</em> and <em>wget</em> are unavailable (and I don't know of any alternatives).</p>
  
  <p>I am trying to update the DtDns with this line: <code>https://www.dtdns.com/api/autodns.cfm?&lt;options&gt;</code></p>
  
  <p>--</p>
  
  <p><strong>Edit</strong><br>
  Wasn't able to find any quick'n'easy solution therefore took a longer detour and learned about creating snaps with snapcraft (in classic mode). Then simply included curl in the snap along with my bash script. Here is an excerpt from my snap.yaml:</p>
  
  <pre><code>apps:
    my-app:
      command: my-app.sh
      daemon: simple
      restart-condition: always
  
  parts:
    client:
      plugin: dump
      source: my-app-src/
      stage-packages: 
        - curl
  </code></pre>
  
  <p>A good starting point: <a href="https://tutorials.ubuntu.com/tutorial/create-your-first-snap" rel="nofollow noreferrer">How to build a snap – tutorial</a>.</p>