We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62ce095 commit 352d0a2Copy full SHA for 352d0a2
1 file changed
order-service/app.py
@@ -24,6 +24,7 @@ def send_message():
24
return jsonify({'message_id': response['MessageId']}), 200
25
except Exception as e:
26
return jsonify({'error': str(e)}), 500
27
-def health():
28
- return "Product service healthy", 200
+@app.route('/health', methods=['GET'])
+def health_check():
29
+ return 'OK', 200
30
0 commit comments