From 72795ae5959cd8ec664f3a547084f3250f511439 Mon Sep 17 00:00:00 2001 From: Danilo Grieco Date: Mon, 22 Apr 2024 16:18:19 +0200 Subject: [PATCH] TMP: debug --- lib/sharepoint/client.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sharepoint/client.rb b/lib/sharepoint/client.rb index 4313203..eb25c04 100644 --- a/lib/sharepoint/client.rb +++ b/lib/sharepoint/client.rb @@ -568,6 +568,7 @@ def xrequest_digest(site_path = nil) url = remove_double_slashes("#{computed_api_url(site_path)}/contextinfo") easy.http_request(url, :post, { body: '' }) easy.perform + puts easy.response_body JSON.parse(easy.response_body)['d']['GetContextWebInformation']['FormDigestValue'] end