title: expanding variable in CURL
body: <p>The following curl statement works OK in my shell script.</p>
  
  <pre><code>curl -Ld'username=user&amp;password=password&amp;source=oksoft&amp;dmobile='$mnumber'&amp;message=Slave is working OK' http://167.123.129.195/smsclient//api.php
  </code></pre>
  
  <p>The Mobile number is expanded as expected. But when I use a variable for the message parameter, I get $myvar output instead of the expanded variable.</p>
  
  <pre><code>curl -Ld'username=user&amp;password=password&amp;source=oksoft&amp;dmobile='$mnumber'&amp;message="$myvar"' http://167.123.129.195/smsclient//api.php
  </code></pre>
  
  <p>How do I use the variable for the message?</p>