async def ping(_request: Request) -> Response:
    """Test API endpoint.

    Args:
        _request: The Starlette request object.

    Returns:
        The response.
    """
    return JSONResponse("pong")
Test API endpoint.

    Args:
        _request: The Starlette request object.

    Returns:
        The response.
    
reflex/app.py