...
The above script can be called like python clean-json.py "http://vravish-012120-ashau-dev0-dot-usw1.datafusion.googleusercontent.com/api/v3/namespaces/default/apps/body-separator" $(gcloud auth print-access-token) <OPTIONAL_FILE_NAME>
which will also return JSON output parsable with JQ. If the file name is not specified, then the script only prints to stdout; otherwise, it prints to stdout and the file, which doesn’t need to exist beforehand.
Related articles
Page Properties | ||
---|---|---|
| ||
|