Skip to content

skuyjs/http-client

Repository files navigation

@skuyjs/http-client

Client to make HTTP request for NodeJS.

Usage

Examples of sending an HTTP request with a different request method.

GET

const Client = require('@skuyjs/http-client');

Client
  .get('https://jsonplaceholder.typicode.com/posts/1')
  .then(result => {
    console.log(result);
  })
  .catch(err => {
    console.log(err);
  });

About

Client to make HTTP request for NodeJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published