Hi All,
I failed to use RESTClient upload a file from local pc to my office365 OneDrive follow the Microsoft article.
the following is Microsoft link
http://msdn.microsoft.com/en-us/library/office/dn605900%28v=office.15%29.aspx
Create file with content
Creates a new file and provisions the file with content. Provide the content as a bit stream in the POST body. The body is required.
Request |
POST ../_api/files/Add(string name, boolean overwrite) |
Body |
Bit stream of file content. |
Response |
Returns file properties and response code. |
if someone have some code in native c or c++, please help.
Many Thanks
Will