I have this code here to read a file on onedrive:
PATCH /me/drive/items/{item-id}
Content-type: application/json
{
"name": "new-file-name.docx"
}
And to update a file:
PUT /me/drive/items/{item-id}/content
Content-Type: text/plain
The contents of the file goes here.
But where to I login to my microsoft account?