none
2 url in one REST call is possible? RRS feed

  • Question

  • Hello,

    Can we have 2 calls for 2 different url using REST in one go?

    Please check below code:

    $http({
    method: 'GET',
    url: url + "/_api/web/lists/getByTitle('PasswordList')/items?$select=StartDate,EndDate,Password,Month", /* Get Passowrd List */
    imageURL: imageURL + "/_api/web/GetFolderByServerRelativeUrl('SiteCollectionImages')/Files('WIFI%20Symbol1.png')" /* Get Image url */
    }).then(function successCallback(response) { }, function errorCallback(response) {
    window.console && console.log('error' + response);
    });

    Please guide.

    Thanking you in advance.

    Regards,

    Jayashri

    Wednesday, August 28, 2019 5:45 AM

All replies