Send an HTTP Request to SharePoint

Creating Multiple SharePoint List Items Using SharePoint REST API

Creating many list items in one call means the same SharePoint REST `$batch` endpoint covered from the PnPjs side in SharePoint Data Handling with PnP Batching Queries. Worth reading there for the wire-format details and the real 100-request cap, both of which apply here too. This post stays on the raw `fetch`-based approach specifically, for

Creating Multiple SharePoint List Items Using SharePoint REST API Read More »

Exploring SharePoint REST API Endpoints

The SharePoint REST API is organized entirely around one root path ({site-url}/_api/) with everything else (lists, files, users, search) hanging off web, site, or a dedicated service beneath it. Here’s a reference list of the endpoints you’ll actually reach for, plus a working example calling one from plain JavaScript. In this post: Site and web

Exploring SharePoint REST API Endpoints Read More »

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 POST

How to Send an HTTP Request in SharePoint via JavaScript Read More »

Start your SharePoint with SPFX

SPFx (SharePoint Framework) is Microsoft’s current framework for building client-side web parts and extensions with TypeScript and React. The basic shape of getting started hasn’t changed, but two real pieces of the toolchain have (the build tooling and the way you test locally) and a lot of “getting started” guides still show the old versions.

Start your SharePoint with SPFX Read More »