If you are using REST API for get data from SP list for anonymous site , so it will not load data until you logged in. As REST API load data at user context based.
For work REST API for anonymous site perform below setting.
Go to Site Setting
Site Permission
Click on Anonymous access button in the ribbon
And Uncheck the "Require Use Remote Interfaces permission?" (It's check bydefaut ).
For more details Refer Link
For work REST API for anonymous site perform below setting.
Go to Site Setting
Site Permission
Click on Anonymous access button in the ribbon
And Uncheck the "Require Use Remote Interfaces permission?" (It's check bydefaut ).
For more details Refer Link

No comments:
Post a Comment