DEV Community

forzaxhx
forzaxhx

Posted on

Non variable recognition on Syspass API Bash Script

0

When i input a variable on the curl with the json indexed, it takes the string value of the variable, if i scaped the double-quotes, it returns me a sintax error because of in a json request u have to input the data with double-quotes Example:

#!/bin/bash

token="x"
tokenPass="x"
name="prueba"

Top comments (0)