Function knorry

  • Makes a request to the specified url

    Parameters

    • method: HTTPMethod

      The HTTP method to use for the request (e.g. GET, POST, PUT, DELETE, etc.).

    • url: string

      The URL to which the HTTP request will be sent.

    • Optional data: RequestData

      The data to be sent in the request body when using a method like POST

    • Optional options: RequestOptions

      An optional object containing additional options for the request, such as headers

    Returns Promise<KnorryResponse>

    A Promise that resolves either with a primitive type containing the full response as the $res property or undefined

Generated using TypeDoc