How to Send an HTTP Request in SharePoint via JavaScript
Plain fetch() or XMLHttpRequest work fine for hitting SharePoint’s REST API — the part that’s actually SharePoint-specific isn’t the HTTP call itself, it’s the headers: an Accept header SharePoint’s OData implementation expects, and a request digest token required on anything that isn’t a GET. In this post: A GET request: fetching list items · A […]
How to Send an HTTP Request in SharePoint via JavaScript Read More »


