When ever I run the curl command it's throwing a syntax error. I've followed this documentation to list all artifacts in 'war-release' repo. No idea what's the issue.
$curl -u uname:password -X POST https://<artifactory.com>/artifactory/api/search/aql -d items.find({"repo":"war-release"})
-bash: syntax error near unexpected token `('
Try this curl statement:
curl -u uname:password -X POST -d "items.find({"repo":"war-release"})" https:///artifactory/api/search/aql