Skip to main content

For getting SharePointSharePoint list values through restREST. I came throughacross two solutions:

  1. writing CAML Query in the body of AJAX call
  2. Odata query selector operators(eq: select,expand) in the url
  1. writing CAML Query in the body of AJAX call
  2. Odata query selector operators (eg: select, expand) in the url

Which is better way.Suggest advantages and disadvantages. Any solution will be appreciated.Are there any significant differences to watch out for?

For getting SharePoint list values through rest. I came through two solutions

  1. writing CAML Query in the body of AJAX call
  2. Odata query selector operators(eq: select,expand) in the url

Which is better way.Suggest advantages and disadvantages. Any solution will be appreciated.

For getting SharePoint list values through REST. I came across two solutions:

  1. writing CAML Query in the body of AJAX call
  2. Odata query selector operators (eg: select, expand) in the url

Are there any significant differences to watch out for?

Source Link

CAML Query vs Odata Query string operators

For getting SharePoint list values through rest. I came through two solutions

  1. writing CAML Query in the body of AJAX call
  2. Odata query selector operators(eq: select,expand) in the url

Which is better way.Suggest advantages and disadvantages. Any solution will be appreciated.