Convert CURL commands to Node Request code online

Curl command

Examples: GET - POST - JSON - Basic Auth - Files - Form

CURL to Node Request online

This tool helps you to generate Node Request code based on CURL command. Copy and paste CURL command and generate Node Request.

What can you do with CURL to Node Request converter online?

  • CURL to Node Request is very unique tool to convert CURL command to Node Request request of Node Request. The input provide by the user's CURL command to generate Node Request code.
  • This tool saves your time and helps to generate Node Request code with ease.
  • CURL to Node Request works well on Windows, MAC, Linux, Chrome, Firefox, Edge and Safari.

what is CURL?

CURL is an open-source command line tool that downloads files from the web. It supports a variety of protocols, including Node Request, Node RequestS, FTP, SFTP, TFTP, Gopher and others.

How do convert CURL to Node Request code? 

Step1: Paste and convert your CURL requests to Node Request code

Step2: Copy Node Request code

Convert CURL to Node Request example

CURL
curl example.com
Node Request
var request = require('request');

var options = {
    url: 'http://example.com'
};

function callback(error, response, body) {
    if (!error && response.statusCode == 200) {
        console.log(body);
    }
}

request(options, callback);