<Command Name="PUT FILE" CommandName="HttpRequest_Execute"> <Parameter Name="Credential" Direction="In" Value="SHAREPOINT" /> <Parameter Name="HttpHeaders" Direction="In" Value="Content-Type:application/pdf" /> <Parameter Name="Method" Direction="In" Value="PUT" /> <Parameter Name="PostData" Direction="In" Value="${FileStream}" /> <Parameter Name="Url" Direction="In" Value="https://graph.microsoft.com/v1.0/drives/driveid/items/root:/${FileName}:/content" /> <Parameter Name="ResponseData" Direction="Out" OutputProperty="${WebResponseData}" /> <Parameter Name="ResponseStatus" Direction="Out" OutputProperty="${WebResponseStatus}" /> </Command>
Request: POST /v1.0/drives/driveid/items/root:/0.pdf:/content HTTP/1.1 Content-Type: application/pdf Host: mytest.sharepoint.com Connection: Keep-Alive 'file_content'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)