Forum Moderators: bakedjake
# can I use spaces here?
var = 9876;
# can I use $var inside of the ` ` here?
response = `curl https://example.com?id=$var \
-H 'Content-Type: application/json' \
foo` {"result":{"id":"1234","name":"bar.com","status":"pending",...} response=`curl https://example.com?id=$var \
-H 'Content-Type: application/json' \
foo` | jq '.result[0].id' jq: error while loading shared libraries: libonig.so.5: cannot open shared object file: No such file or directory