hammerspoon2-docs
    Preparing search index...

    Function get

    • Perform an HTTP GET request.

      Parameters

      • url: string

        The URL to request.

      • Optionalheaders: Record<string, string> | null

        Optional dictionary of request headers.

      Returns Promise<
          {
              body: string;
              headers: Record<string, string>;
              status: number;
              url: string;
          },
      >

      Resolves with the HTTP response.