minecraft-servers/people/handler.py
2025-11-22 22:10:09 -06:00

18 lines
327 B
Python

def detect_person(url):
return "Hello, World!"
def handle(req):
"""handle a request to the function
Args:
req (str): request body
"""
if not req:
raise Exception("Empty request")
if isinstance(req, str):
req = req.encode("utf-8")
url = req
return detect_person(url)