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
- Host: GitHub
- URL: https://github.com/zaiste/zrob
- Owner: zaiste
- Created: 2017-01-28T17:50:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T05:16:20.000Z (almost 3 years ago)
- Last Synced: 2025-07-22T15:42:21.085Z (5 months ago)
- Topics: http, http-client, javascript, request, tiny-javascript-library
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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' } })
```