mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Added simple logging endpoint for fire text inbound SMS calls
- logs post data - OK to log all as not currently in use so no real user data expected.
This commit is contained in:
@@ -19,7 +19,7 @@ def receive_mmg_sms():
|
||||
|
||||
@receive_notifications_blueprint.route('/notifications/sms/receive/firetext', methods=['POST'])
|
||||
def receive_firetext_sms():
|
||||
post_data = request.get_json()
|
||||
post_data = request.form
|
||||
current_app.logger.info("Received Firetext notification form data: {}".format(post_data))
|
||||
|
||||
return jsonify({
|
||||
|
||||
Reference in New Issue
Block a user