code update recorded at: 09/04/26 12:04:32
This commit is contained in:
commit
ca85f66ab3
|
|
@ -0,0 +1,15 @@
|
|||
# Import the required modules
|
||||
from flask import jsonify
|
||||
|
||||
# Define the handler function
|
||||
def handler(request):
|
||||
# Create the response JSON
|
||||
response_json = {
|
||||
'message': 'Hello World'
|
||||
}
|
||||
|
||||
# Print the JSON response to stdout
|
||||
print(response_json)
|
||||
|
||||
# Return a JSON response
|
||||
return jsonify(response_json)
|
||||
Loading…
Reference in New Issue
Block a user