However this needs to be updated from just a root service url to the relative url of the site eg: If the relative url has a list where in we are trying to do delete operation. In that scenario just using the root service url for the POST call will not work and the request url will instead look like this: "https://sharepoint.com/sites/test" given the list is under site "test"
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: e3f963c2-441f-8f40-9c2a-3d31f4a79b1f
Version Independent ID: d4a6f050-b632-a5a0-1814-33699760fccb
Hello, I wanted to point out that the article: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/make-batch-requests-with-the-rest-apis states below: The request URL consists of the root service URL and the $batch option; for example, https://fabrikam.sharepoint.com/_api/$batch or https://fabrikam.office365.com/api/v1.0/me/$batch.
However this needs to be updated from just a root service url to the relative url of the site eg: If the relative url has a list where in we are trying to do delete operation. In that scenario just using the root service url for the POST call will not work and the request url will instead look like this: "https://sharepoint.com/sites/test" given the list is under site "test"
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.