title: curl in bash returns command not found
body: <p>I have a very simple bash script in which I want to call curl and pass it to variable, this is what I have:</p>
  <pre><code>#!/bin/bash
  
  mycommand = &quot;$(curl 'https://...')&quot;
  sleep 2
  echo &quot;$mycommand&quot;
  </code></pre>
  <p>and yet, when I call it it returns</p>
  <pre><code>./testScripttry.sh: line 3: mycommand: command not found
  </code></pre>
  <p>what am I doing wrong here?</p>