EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...
    • GET a URL, parse the response body as JSON, and return the typed value.

      Type Parameters

      • T

        Narrow response type declared by the caller.

      Parameters

      • path: string

        Path to append to the base URL.

      • ctx: IMFHttpContext

        HTTP context adapter from the client instance.

      Returns Promise<T>

      Parsed JSON value.

      When the response is not JSON, not 2xx, or the request fails.