New Download LAZYREQUEST v1.0.3 from the releases page. Download now →

A lightweight minimal API Testing CLI tool

Inspired by VSCode REST Client syntax. Declare requests and expected responses in .http templates, natively from your terminal.

$ npm i -g lazyrequest
LazyRequest Terminal UI

What is LAZYREQUEST?

LAZYREQUEST recursively discovers .http and .rest files, automatically sends HTTP requests, and compares actual responses against expected responses defined in the templates.

Why LAZYREQUEST? If you already use VSCode REST Client, you don't need to learn another API testing tool. LAZYREQUEST uses the same syntax for HTTP requests.

api-test.http
# 1. Declare your request
GET https://api.example.com/users/1 HTTP/1.1
Accept: application/json

###

# 2. Define the expected response
HTTP/1.1 200 OK
Content-Type: application/json
{
  "id": 1,
  "name": "John Doe"
}