Curl inside shell_command not working

FINALYYYYY, GOT IT RUNNING.

CONFIGURATION.YAML:
shell_command:
  wallbox_ampere_manual: bash /config/scripts/manual_mode_ampere_an_wb.sh "{{states('input_number.manual_mode_ampere')}}"

SCRIPT:
curl -X POST -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: application/json' -d 'manualmodeamp='"$1" http://192.168.1.4/api/v1/chargecontrols/01/mode/manual/ampere

THAT WAS TOUGH