Skip to content

Commit

Permalink
remove post definition
Browse files Browse the repository at this point in the history
  • Loading branch information
geovalexis committed Jun 14, 2024
1 parent c6420de commit d1d6956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/function_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


@app.function_name(name="generate")
@app.route(route="generate", auth_level=func.AuthLevel.ANONYMOUS, methods=["POST"])
@app.route(route="generate", auth_level=func.AuthLevel.ANONYMOUS)
def test_function(req: func.HttpRequest) -> func.HttpResponse:
logger.info(f"Python HTTP trigger function processed a request: {req}")
req_body = req.get_json()
Expand Down

0 comments on commit d1d6956

Please sign in to comment.