Connecting to REST API
SharePoint REST API is supported both on Sharepoint OnPremise and on Sharepoint Online. To connect using the REST API set Schema to REST.
The property SharePointEdition may be used to define the edition of Sharepoint.
Sharepoint Online
SharePoint Online uses OAuth standard to authenticate. Follow the steps under "Authenticating to SharePoint Online" in Establishing a Connection for more information.
Sharepoint OnPremise
Follow the steps under "Authenticating to SharePoint On Premises" in Establishing a Connection for more information.