Forum Discussion
hcl_nitin
Apr 28, 2020Copper Contributor
sharepoint api link
Hi, I need sharepoint API url for accessing sharepoint data. Please suggest the the list of API. regards, Nitin chauhan
hcl_nitin your url is not correct, /Sites/ its causing the problem. It needs to be the site url plus /_api/...
If using the root site collection:
https://hclo365.sharepoint.com/_api/web/lists/getByTitle('SPlist')
If using a different site collection:
https://hclo365.sharepoint.com/sites/TestSite/_api/web/lists/getByTitle('SPlist')
hcl_nitin
Apr 28, 2020Copper Contributor
- Apr 28, 2020
Open a browser and access the 'SPList' list on that site. If you have permissions to see the list, you can also query it's data via the REST API. Ensure that the url is correct.