title: Pass variable as options to curl in shell script linux
body: <p>I'm trying to update some info of a web site using curl through a script but it's not working well, this is the code i have:</p>
  
  <pre><code>CURL_STD_OPTS="-k --header 'Content-Type: application/json' --header 'Accept: application/json'
  curl  "$CURL_STD_OPTS" -X POST --data '{ "actual": '"$BAL"' }' "'$websiteurl'"
  </code></pre>
  
  <p>and this is the output message:</p>
  
  <pre><code>jdelaoss@infcet99:/tools/saadmin/occtools_morning_checks $ ./test.sh
  curl: option -k --header 'Content-Type: application/json' --header 'Accept: application/json': is unknown
  </code></pre>
  
  <p>if i run the script directly from the shell with the options it works.</p>