{"action":"created","issue":{"url":"https://api.github.com/repos/OfficeDev/PnP-JS-Core/issues/214","repository_url":"https://api.github.com/repos/OfficeDev/PnP-JS-Core","labels_url":"https://api.github.com/repos/OfficeDev/PnP-JS-Core/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/PnP-JS-Core/issues/214/comments","events_url":"https://api.github.com/repos/OfficeDev/PnP-JS-Core/issues/214/events","html_url":"https://github.com/OfficeDev/PnP-JS-Core/issues/214","id":181868043,"number":214,"title":"Update file contents with REST","user":{"login":"Abrissirba","id":5156241,"avatar_url":"https://avatars.githubusercontent.com/u/5156241?v=3","gravatar_id":"","url":"https://api.github.com/users/Abrissirba","html_url":"https://github.com/Abrissirba","followers_url":"https://api.github.com/users/Abrissirba/followers","following_url":"https://api.github.com/users/Abrissirba/following{/other_user}","gists_url":"https://api.github.com/users/Abrissirba/gists{/gist_id}","starred_url":"https://api.github.com/users/Abrissirba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abrissirba/subscriptions","organizations_url":"https://api.github.com/users/Abrissirba/orgs","repos_url":"https://api.github.com/users/Abrissirba/repos","events_url":"https://api.github.com/users/Abrissirba/events{/privacy}","received_events_url":"https://api.github.com/users/Abrissirba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OfficeDev/PnP-JS-Core/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"patrick-rodgers","id":13154702,"avatar_url":"https://avatars.githubusercontent.com/u/13154702?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-rodgers","html_url":"https://github.com/patrick-rodgers","followers_url":"https://api.github.com/users/patrick-rodgers/followers","following_url":"https://api.github.com/users/patrick-rodgers/following{/other_user}","gists_url":"https://api.github.com/users/patrick-rodgers/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-rodgers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-rodgers/subscriptions","organizations_url":"https://api.github.com/users/patrick-rodgers/orgs","repos_url":"https://api.github.com/users/patrick-rodgers/repos","events_url":"https://api.github.com/users/patrick-rodgers/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-rodgers/received_events","type":"User","site_admin":false},"assignees":[{"login":"patrick-rodgers","id":13154702,"avatar_url":"https://avatars.githubusercontent.com/u/13154702?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-rodgers","html_url":"https://github.com/patrick-rodgers","followers_url":"https://api.github.com/users/patrick-rodgers/followers","following_url":"https://api.github.com/users/patrick-rodgers/following{/other_user}","gists_url":"https://api.github.com/users/patrick-rodgers/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-rodgers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-rodgers/subscriptions","organizations_url":"https://api.github.com/users/patrick-rodgers/orgs","repos_url":"https://api.github.com/users/patrick-rodgers/repos","events_url":"https://api.github.com/users/patrick-rodgers/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-rodgers/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-10-09T05:54:21Z","updated_at":"2016-10-13T19:54:23Z","closed_at":null,"body":"#### Category\r\n[x ] Enhancement\r\n\r\n[ ] Bug\r\n\r\n[x ] Question\r\n\r\n#### Expected / Desired Behavior / Question\r\nI want to be able to update the contents of a file with REST.\r\n\r\n#### Observed Behavior\r\nI can't see any way of making the rest call defined in https://msdn.microsoft.com/en-us/library/office/dn450841.aspx that suggest a call to getfilebyserverrelativeurl('/Shared Documents/filename.txt')/$value with the X-HTTP-METHOD set to PUT. I searched the code for $value but only found one occurrence and was only to get the content."},"comment":{"url":"https://api.github.com/repos/OfficeDev/PnP-JS-Core/issues/comments/253620758","html_url":"https://github.com/OfficeDev/PnP-JS-Core/issues/214#issuecomment-253620758","issue_url":"https://api.github.com/repos/OfficeDev/PnP-JS-Core/issues/214","id":253620758,"user":{"login":"patrick-rodgers","id":13154702,"avatar_url":"https://avatars.githubusercontent.com/u/13154702?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-rodgers","html_url":"https://github.com/patrick-rodgers","followers_url":"https://api.github.com/users/patrick-rodgers/followers","following_url":"https://api.github.com/users/patrick-rodgers/following{/other_user}","gists_url":"https://api.github.com/users/patrick-rodgers/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-rodgers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-rodgers/subscriptions","organizations_url":"https://api.github.com/users/patrick-rodgers/orgs","repos_url":"https://api.github.com/users/patrick-rodgers/repos","events_url":"https://api.github.com/users/patrick-rodgers/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-rodgers/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T19:54:23Z","updated_at":"2016-10-13T19:54:23Z","body":"Any updates here? Was the saveBinaryStream method what you needed?"}}
{"actor":{"display_login":"patrick-rodgers"}}