Skip to content

Commit

Permalink
✨ Check if the authorities are online (#91)
Browse files Browse the repository at this point in the history
Parent issue: sequentech/epi#36
  • Loading branch information
Findeton authored Apr 12, 2024
1 parent de59057 commit c06b062
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions public_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,15 @@ def receive_tally():
print(request.get_json(force=True, silent=True))
return make_response("", 202)

@public_api.route('/check_state', methods=['GET'])
def check_state():
'''
This is a test route to be able to test that callbacks are correctly sent
'''
print("ATTENTION received check-state callback: ")
print(request.get_json(force=True, silent=True))
return make_response("", 202)

@public_api.route('/download_private_share', methods=['POST'])
def download_private_share():
'''
Expand Down

0 comments on commit c06b062

Please sign in to comment.