• Asynchronously retrieves data from a web service using the specified query parameters and endpoint.

    Parameters

    • queryParams: any

      The parameters to be used in the query string of the request.

    • endpoint: any

      The endpoint URL to which the request is sent.

    Returns Promise<any>

    A promise that resolves to the response data or false if an error occurs.