Sunday, April 2, 2017

Implementing SharePoint Online REST client on JAVA platform.

Hi folks,

SharePoint 2013 hosts a Representational State Transfer (REST) service. Using REST API, Developers can interact remotely with SharePoint data by using any technology that supports REST web requests.

SharePoint Online (SPO) REST client request should need to authorize. SharePoint Online Single Sign On (SSO) process validate the REST call and establish connection between SPO and REST client.

In order to establish connection between SPO and REST client, needs to provide following authentication values.

1) rtFa Cookies
2) FedAuth Cookies
3) FormDigestValue

In this post, I’ll demonstrate only implementing a JAVA based RESTful client part and way of passing the above mention authentication values as headers in RESTful call. How to generate the auth values explained in this post. We can simply use generated auth values using POSTMAN case, these values never expire and platform independent.



Happy Coding....

Regards,
Denuwan Himanga