Using curl POST with variables defined in bash script functions Using curl POST with variables defined in bash script functions bash bash