hammerspoon2-docs
    Preparing search index...

    Function put

    • Perform an HTTP PUT request.

      Parameters

      • url: string

        The URL to request.

      • Optionalbody: string | null

        Optional request body string.

      • Optionalheaders: Record<string, string> | null

        Optional dictionary of request headers.

      Returns Promise<any>

      Resolves with the HTTP response.