Skip to content

Commit

Permalink
/ entry endpoint for health check
Browse files Browse the repository at this point in the history
  • Loading branch information
josancamon19 committed Apr 8, 2024
1 parent cd44be8 commit 35efa48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
)


@app.get('/')
def home():
return 'Hello, World!'


@app.get('/webhook', response_class=PlainTextResponse)
def webhook_verification(request: Request):
if request.query_params.get('hub.mode') == 'subscribe' and request.query_params.get(
Expand Down

0 comments on commit 35efa48

Please sign in to comment.