Skip to content

HTTPGet#

HttpGet #

HttpGet(
    *,
    path: TemplatedStringItem,
    slug: str,
    headers: dict[str, str] | None = None,
    as_dict: bool = False,
)

Spec for defining data from a http connector request.

Constructor for HttpGet class.

Parameters:

Name Type Description Default
path TemplatedStringItem

path to the data.

required
headers dict[str, str] | None

headers for the request.

None
slug str

slug of data connector.

required
as_dict bool

flag to return data as dictionary.

False