Compare commits

..

No commits in common. "v4" and "main" have entirely different histories.
v4 ... main

3 changed files with 2 additions and 22 deletions

View File

@ -1 +1,2 @@
# python hello-world
# 90232a2ad66e43259b8193209d6eb77f

19
main.py
View File

@ -1,19 +0,0 @@
def main(request):
request_json = request.get_json(silent=True)
if request_json is None:
return "Invalid or no JSON received"
name = request_json.get("name", "No Name Provided")
email = request_json.get("email", "No Email Provided")
phone = request_json.get("phone", "No Phone Provided")
address = request_json.get("address", "No Address Provided")
print(f"Name: {name}")
print(f"Email: {email}")
print(f"Phone: {phone}")
print(f"Address: {address}")
return {
'testing':'HELLO WORLD'
}

View File

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