# Pastebin Zz8vHpGo Newbie question here. I'm having trouble passing a JSON list using salt-run and http.query. Seems like the renderer might be incorrectly passing the data to the target. If I run the following: salt-run http.query https://10.234.112.107/api/1.8/host/salt-host method=POST data='{"wwnlist": ["0011223344556677","1122334455667788"]}' persist_session=True verify_ssl=false then I get a 400 return status. On the target I get the following error: 2017-03-07 15:18:25.128 [INFO] 10.234.112.46 >> POST http://10.234.112.107/api/1.8/host/salt-host { "wwnlist":"['0011223344556677', '1122334455667788']" } Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pure/rest/controller/util.py", line 97, in execute (command, args) = get_args(command_list, version, params) File "/usr/lib/python2.7/dist-packages/pure/rest/controller/util.py", line 392, in get_args raise RestException("Value of argument {} needs to be one of {}.".format(key, arg.arg_type), Code.BAD_REQUEST) RestException: Value of argument wwnlist needs to be one of ['list']. 2017-03-07 15:18:25.129 [WARNING] << 400 BAD REQUEST { "msg":"Value of argument wwnlist needs to be one of ['list']." } The [] seems to be getting double quotes around them. Is this an issue with the renderer or the Rest code on the target? The target rest code seems to work with everything else like puppet, ansible, python and even running tests with postman.