brbzull0 commented on pull request #8695:
URL: https://github.com/apache/trafficserver/pull/8695#issuecomment-1055340036


   > Seems it would be nice to have a `--json` option where I can pass in the 
JSON literally.
   
   @SolidWallOfCode You can, the `--params` will handle that, internally it 
will use the YAML parser, so you can pass `json` or `yaml`:
   ```
   traffic_ctl rpc invoke read_files_method --params '{ "filenames": [  
"file1", "file2" ] }'
   ```
   or
   ```
   traffic_ctl rpc invoke read_files_method --params 'filenames: ["file1", 
"file2"]'
   ```
   thanks for the review


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to