Skip to content

Commit

Permalink
Associated endpoints with their own dedicated Azure Function
Browse files Browse the repository at this point in the history
  • Loading branch information
hvalfangst committed Jan 5, 2024
1 parent 759b57a commit 4319af7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions function_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def index():


@app.route("/encrypt", methods=["POST"])
@app.function_name("encrypt")
def encrypt():
logger.info("Received request to encrypt endpoint.")

Expand Down Expand Up @@ -58,6 +59,7 @@ def encrypt():


@app.route("/decrypt", methods=["POST"])
@app.function_name("decrypt")
def decrypt():
logger.info("Received request to decrypt endpoint.")

Expand Down

0 comments on commit 4319af7

Please sign in to comment.