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