Compare commits

...

1 Commits
main ... v4

Author SHA1 Message Date
FunctionsAPI
0a1332d6cf Automatic push from FunctionsAPI 2025-08-07 14:36:26 +00:00
3 changed files with 9 additions and 2 deletions

View File

@ -1,2 +1 @@
# 8e61ebfe31e74062933837dcc24715ec
# python hello-world

6
main.py Normal file
View File

@ -0,0 +1,6 @@
def main(request):
data = request.get_json(force=True)
logging.info(f"Received data: {data}")
return {"result": data.get("a", 0)+data.get("b", 0)}

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
functions-framework==1.4.3
markupsafe==2.0.1