Skip to main content

Quick-Start

[This tutorial Assumes you've already downloaded the package]

Using it.

In your terminal,

with npx;

$ npx zap-client get https://jsonplaceholder.typicode.com/posts/1
'statusCode: 200'
undefined
{
userId: 1,
id: 1,
title: 'sunt aut facere repellat provident occaecati excepturi optio reprehenderit',
body: 'quia et suscipit\n' +
'suscipit recusandae consequuntur expedita et cum\n' +
'reprehenderit molestiae ut ut quas totam\n' +
'nostrum rerum est autem sunt rem eveniet architecto'
}
undefined

And now you have made your very first request with zap.