Skip to content

Commit

Permalink
TMP: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
gridanjbf committed Apr 22, 2024
1 parent da00d58 commit 72795ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sharepoint/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 72795ae

Please sign in to comment.