PHP : File upload using Rest API in ShairePoint

To upload the file in share point we are using auth-client service for authentication and through that, we will have access token which will help us to communicate to the Sharepoint

1. Register the app into SharePoint.

· Navigate to https://your_site_name.com/_layouts/15/appregnew.aspx or https://your_site_name.sharepoint.com/sites/sitename/_layouts/15/appregnew.aspx
· Click Generate for Client Id and Client Secret. Continue reading