def METHOD_NAME(s):
    s.set_request()
    s.send_response(200)
    s.send_header("Content-type", "application/json")
    s.end_headers()
    s.wfile.write(json.dumps(s.get_response()).encode("utf-8"))