def METHOD_NAME(s):
    """
    GET request
    """
    global notif_counter, start_time, last_time
    body_temp = ""
    if s.path == "/receive":
        seconds = last_time - start_time
        tps = notif_counter / seconds
        body_temp = '{"requests": "%s","tps": "%.1f/s"}' % (str(notif_counter), tps)
    elif s.path == "/reset":
        notif_counter = 0
        start_time = 0
        last_time = 1
        body_temp = '{"msg":"requests counter has been reseted"}'
    else:
        body_temp = '{"error":"unknown path: %s"}' % s.path
    s.send_response(200)
    s.send_header('Content-type', 'application/json')
    s.send_header("Content-Length", len(body_temp))
    s.end_headers()
    s.wfile.write(body_temp)