title: How to append value dynamically to curl command in shell script
body: <p>I am implementing shell script to make API call using curl when I need to append username dynamically it is not working as expected.</p>
  <p>Here is the scenario:</p>
  <p>VAR_USER_NAME=&quot;myname&quot;</p>
  <p>curl 'http://localhost:8080/api?username=&quot;${VAR_USER_NAME}&quot;'</p>
  <p>But the username is not fetching properly.</p>