An open API service indexing awesome lists of open source software.

https://github.com/zaiste/zrob

:leaves: :ant: Small, simple and modern HTTP request library for Node
https://github.com/zaiste/zrob

http http-client javascript request tiny-javascript-library

Last synced: 5 months ago
JSON representation

:leaves: :ant: Small, simple and modern HTTP request library for Node

Awesome Lists containing this project

README

          

# zrob

> Simple and modern HTTP requests

## Usage

```
const zrob = require('zrob');

zrob('https://httpbin.org/ip')
.then(response => {
console.log(response.body);
})
.catch(error => {
console.log(error.response.body);
});
```

```
zrob.post('https://httpbin.org/forms/post', { form: { size: 'small' } })
```