How to Upload a Document to Sharepoint With Java

How do I upload a document to SharePoint with Java?

Okay ... after several hours of work and biting myself through the "documentation" MicroSoft provides and all the hints randomly spread over the 'net, I've managed to write some sample code to browse the content of a SharePoint server: Navigating SharePoint Folders With Axis2.

Next stop: Uploading something.

Not able to upload a document on sharepoint folder using java

I did some digging and finally got my answer. Steps which I followed:

  1. I tried to create rest api in postman. But I was getting forbidden

    403 as status code.
  2. I tried following blog as I came to know I

    have to generate client id and client secret on sharepoint site. So
    Here is the blog which is followed :

    http://www.ktskumar.com/2017/01/access-sharepoint-online-using-postman/

Happy Coding!
Thanks.

How can Upload a file to Sharepoint?

Pls follow Sharepoint guide here



Related Topics



Leave a reply



Submit