code update recorded at: 09/04/26 11:49:24
This commit is contained in:
commit
f3767dbefa
|
|
@ -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