actinia-core icon indicating copy to clipboard operation
actinia-core copied to clipboard

Show nicely formatted JSON

Open mmacata opened this issue 3 years ago • 1 comments

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.

mmacata avatar Dec 17 '20 10:12 mmacata

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

marcjansen avatar May 04 '21 15:05 marcjansen