actinia-core
actinia-core copied to clipboard
Show nicely formatted JSON
With Flask > 1.0.0, the response of actinia API calls (via CURL) are not nicely formatted anymore. This is not a huge problem, as readability is given with tools like json
or jq
but it would be great to solve this without external dependencies.
Maybe useful: https://flask.palletsprojects.com/en/1.1.x/api/#flask.json.jsonify and https://flask.palletsprojects.com/en/1.1.x/config/#JSONIFY_PRETTYPRINT_REGULAR