Skip to content


MIT 108 10 13,904
88.1 million (month) Mar 27 2014 14.2.1(30 days ago)
506 3 11 NA
1.1.4(4 years ago) Apr 20 2010 39.9 thousand (month)

Got is a lightweight and powerful HTTP client for Node.js. It is built on top of the http and https modules and provides a simple, consistent API for making HTTP requests.

Got is one of the most feature-rich http clients in NodeJS ecosystem offering http2, proxy and asynchronous support making it ideal for web scraping.

Got also supports many specific domain integrations like AWS, plugins for various public APIs like github.

Note that Got has some inconsistent behaviors when it comes to web scraping use.
For example, it normalizes http headers which is undesired functionality in scraping and should be disabled.

Nestful is a Ruby library for making HTTP requests. It is designed to provide a simple, easy-to-use interface for making requests and handling responses. Nestful is often used for making requests to RESTful APIs.

One of the main features of Nestful is its ability to automatically parse JSON and XML responses and return them as Ruby objects. This allows developers to easily access the data returned by an API without having to manually parse the response.

Netful is aimed at interacting with rest APIs and provides a convenient interface (see example below)



Example Use

const got = require('got');

// GET requests are default and can be made calling the module as is:
const response = await got('');

// POST requests can send 
const response = await'', {
    json: { name: 'John Doe' },

// handling cookies
import {CookieJar} from 'tough-cookie';

const cookieJar = new CookieJar();

await cookieJar.setCookie('foo=bar', '');
await got('', {cookieJar});

// using proxy
import got from 'got';
import {HttpsProxyAgent} from 'hpagent';

await got('', {
  agent: {
    https: new HttpsProxyAgent({
      keepAlive: true,
      keepAliveMsecs: 1000,
      maxSockets: 256,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      proxy: 'https://localhost:8080'
require 'nestful'

# GET request
response = Nestful.get('')
puts response.body
puts response.code
puts response.headers

# POST request
response =
    :format => :json, :payload => { :title => 'foo', :body => 'bar', :userId => 1 }
puts response.body

# establish interface to a specific API
class Charge < Nestful::Resource
  endpoint ''
  options :auth_type => :bearer, :password => 'sk_bar'

  def self.all

  def self.find(id)

  def refund

Charge.all #=> []

Alternatives / Similar