Verso.Http
1.2.2
dotnet add package Verso.Http --version 1.2.2
NuGet\Install-Package Verso.Http -Version 1.2.2
<PackageReference Include="Verso.Http" Version="1.2.2" />
<PackageVersion Include="Verso.Http" Version="1.2.2" />
<PackageReference Include="Verso.Http" />
paket add Verso.Http --version 1.2.2
#r "nuget: Verso.Http, 1.2.2"
#:package Verso.Http@1.2.2
#addin nuget:?package=Verso.Http&version=1.2.2
#tool nuget:?package=Verso.Http&version=1.2.2
Verso.Http
HTTP request extension for Verso notebooks.
Overview
Send REST API requests directly in notebook cells using .http file syntax, the same format supported by VS Code's REST Client and JetBrains HTTP Client. Responses are formatted with status badges, timing, collapsible headers, and pretty-printed JSON.
Features
.httpfile syntax with support for every HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, TRACE, and CONNECT)- Variable interpolation with
@name = valuedeclarations and{{name}}references - Dynamic variables (
{{$guid}},{{$timestamp}},{{$randomInt}},{{$datetime}},{{$localDatetime}},{{$processEnv}}) - Named request chaining via
# @nameand response references ({{name.response.body.$.path}},{{name.response.headers.HeaderName}}) - Multiple requests per cell separated by
### - Request directives (
# @no-redirect,# @no-cookie-jar) - Query continuation (lines starting with
?or&append to the URL) - Magic commands for base URL (
#!http-set-base), default headers (#!http-set-header), and timeout (#!http-set-timeout) - IntelliSense with HTTP method and header completions, diagnostics for unresolved variables, and hover info
- Cross-kernel integration where response data (
httpResponse,httpStatus) is shared to C#, F#, and other cells
Installation
dotnet add package Verso.Http
This package ships with Verso and is loaded automatically, so a notebook needs no reference to it. Add it directly when embedding the engine in your own application.
It depends on Verso.Abstractions and nothing else, using only the HttpClient in the .NET base class library.
Quick Start
#!http-set-base https://api.example.com
GET /users
Accept: application/json
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Verso.Abstractions (>= 1.2.2)
-
net8.0
- Verso.Abstractions (>= 1.2.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.