Read list items using REST api with JQuery

    async: true,
    crossDomain: true,
    url: "http://----------------/sites/-----/_api/Web/Lists/GetByTitle('Menu')/items",
    method: "GET",
    headers: {
        "accept": "application/json;odata=verbose",
        "cache-control": "no-cache",
        "postman-token": "452d273c-96f4-d2a1-bd34-463ab627e4ab"
    success: function (data) {
        $.each(data.d.results, function (index, item) {
           var id = item.ID;
           var title = item.Title;
           //var url = item.url;
    complete: function (data) {


Popular posts from this blog

SharePoint 2019 New Features

Move the list items from one list to another list using PowerShell - SharePoint 2010

Email Validation for SharePoint list column