# @microsoft/sp-http

> Base communication layer for the SharePoint Framework

Latest version **1.23.2** (published 2026-06-30) · https://aka.ms/spfx/license license · 0 weekly downloads

## Install

```sh
npm install @microsoft/sp-http
pnpm add @microsoft/sp-http
yarn add @microsoft/sp-http
bun add @microsoft/sp-http
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.23.2 |
| Published | 2026-06-30 |
| First published | 2016-10-31 |
| Weekly downloads | 0 |
| License | https://aka.ms/spfx/license |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.17.1 <19.0.0 \|\| >=22.14.0 < 23.0.0 |
| Dependencies | 6 |
| Unpacked size | 85.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | microsoft1es, microsoft-oss-releases, odspnpm |

## Links

- npm: https://www.npmjs.com/package/@microsoft/sp-http
- Homepage: http://aka.ms/spfx
- npm.io page: https://npm.io/package/@microsoft/sp-http

## Dependencies (6)

- [tslib](https://npm.io/package/tslib.md) 2.3.1
- [@swc/helpers](https://npm.io/package/@swc/helpers.md) ^0.5.12
- [@microsoft/sp-http-base](https://npm.io/package/@microsoft/sp-http-base.md) 1.23.2
- [@microsoft/sp-diagnostics](https://npm.io/package/@microsoft/sp-diagnostics.md) 1.23.2
- [@microsoft/sp-core-library](https://npm.io/package/@microsoft/sp-core-library.md) 1.23.2
- [@microsoft/sp-http-msgraph](https://npm.io/package/@microsoft/sp-http-msgraph.md) 1.23.2

## Recent versions

- 1.23.2 (latest) — 2026-06-30
- 1.24.0-beta.4 (next) — 2026-09-17
- 1.24.0-beta.3 — 2026-08-26
- 1.24.0-beta.2 — 2026-07-09
- 1.23.1 — 2026-06-05
- 1.23.0 — 2026-05-13
- 1.23.0-rc.3 — 2026-05-06
- 1.23.0-rc.2 — 2026-04-29
- 1.23.0-rc.1 — 2026-04-21
- 1.23.0-rc.0 — 2026-04-08
- 1.23.0-beta.2 — 2026-04-02
- 1.23.0-beta.0 — 2026-03-23
- 1.22.2 — 2026-01-28
- 1.22.1 — 2025-12-15
- 1.22.0 — 2025-12-10
- … 102 more at https://npm.io/package/@microsoft/sp-http/versions

## README

# sp-http

This package defines the base communication layer for the SharePoint Framework,
including the SPHttpClient API and typed interfaces for various SharePoint REST
services.

*This package is part of the [SharePoint Framework](http://aka.ms/spfx),
which is a collection of NPM packages that empower developers to create client-side experiences
for [Microsoft SharePoint](https://products.office.com/en-us/sharepoint/collaboration).
For more information, including complete API documentation and code samples, please visit
the [SharePoint Framework](http://aka.ms/spfx) web site.*

---
_Source: https://npm.io/package/@microsoft/sp-http · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
