set status code and return json flask code example Example: flask return status code 200 and json return jsonify(data), 200