0

Trying to automate the kanboard API (https://docs.kanboard.org/en/latest/api/examples.html) using shell script; however, the $NAME parameter is showing err.

here the snippet of the shell script file.

KEY="APY KEY STRING"
URL ="URL of the Application"
SNAME ="My Alert Name"


curl -u "jsonrpc":$KEY  --data '{"jsonrpc": "2.0", "method":"createTask", "id":1, "params": { "description": "description-001", "title": $SNAME, "project_id": 6 }}' $URL -k

Let me know how to fix this issue either in shell script or in Python coding.

Klaus D.
  • 12,804
  • 4
  • 37
  • 48
arimb00r
  • 1
  • 1

0 Answers0