Error with curl when trying out _rollover api


I'm trying to call the following with CURL in a container:

"curl -g -u admin:password "" -H 'Content-Type: application/json' -d '{"conditions": {"max_size": "5gb"}}'"

However i get the following error message:

curl: (3) nested brace in URL position 133:
curl -u admin:password "" -H 'Content-Type: application/json' -d '{"conditions": {"max_size": "5gb"}}'

I've tried to alter this in many different way without success. What seems to be the issue here?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.