This repository was archived by the owner on Nov 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -355,6 +355,16 @@ You can also pass these via Python calls.
355355...
356356```
357357
358+ These header values can also be passed via ` cli4 ` command (many times) - use the ` -v ` option to see the debug messages:
359+ ```
360+ $ cli4 -v --header 'X-something:' --header 'X-whatever:whatever' /zones > /tmp/results.json
361+ ...
362+ --header "X-something: " \
363+ --header "X-whatever: whatever " \
364+ ...
365+ $
366+ ```
367+
358368### Advanced use of configuration file for authentication based on method
359369
360370The configuration file can have values that are both generic and specific to the method.
@@ -657,6 +667,7 @@ $ cli4 [-V|--version] [-h|--help] [-v|--verbose] \
657667 [-A| --openapi url] \
658668 [-b| --binary] \
659669 [-p| --profile profile-name] \
670+ [-h| --header additional-header] \
660671 [--get| --patch| --post| --put| --delete] \
661672 [item= value| item= @filename| @filename ...] /command ...
662673```
You can’t perform that action at this time.
0 commit comments