0ecfb568789143d5b476f82259b.../README.md
2025-06-30 12:49:54 +00:00

13 lines
358 B
Markdown

mport logging
# Configure the logginglogging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
def main(request):
logging.info(f"Function called with request: {request}")
data = request.get_json(force=True)
logging.info(f"Received data: {data}")
return {"result": data.get("a", 0)+data.get("b", 0)}# python hello-world