title: Upload/Create file in SharePoint Online Document Library using MS Graph
body: <p>I am trying to create a file with sample content in a SharePoint Online Document Library using MS Graph.</p>
  <p>MS Graph API:
  <a href="https://graph.microsoft.com/v1.0/sites/%7Bsite-id%7D/drives/%7Bdrive-id%7D/root:/filename.txt:/content" rel="nofollow noreferrer">https://graph.microsoft.com/v1.0/sites/{site-id}/drives/{drive-id}/root:/filename.txt:/content</a></p>
  <p>Can anyone please explain how to upload and what will be request body for this API ?</p>