In jsom, SP.js files need to be loaded before the code execution, but in Rest API no such .js files are required.
2) Another advantages of Rest API in SharePoint is that, Rest API is easier to work and even you can use the browser to see the result and to test them.
3) Rest Api return data in JSON format which is easy to read.
No comments:
Post a Comment