Flask API
When building an API the server will need to return some machine-readable data. These days the most common format of that data is JSON, though there are web applications that return XML and probably other formats as well.
This API can be consumed by some external application or by the JavaScript front-end.
- jsonify