curlconverter - convert curl commands to python, javascript, php

  •        21

Make sure you're running node 6 or greater. The test suite will fail on older versions of node. If you want to add new functionality, start with a test.


cookie : ^0.1.2
jsesc : ^0.5.0
string.prototype.startswith : ^0.2.0
yargs : NickCarneiro/yargs



Related Projects

curl-to-go - Convert curl commands to Go code in your browser

  •    Javascript

curl-to-Go is a tool to instantly convert curl commands to Go code in the browser. It does not guarantee high-fidelity conversions, but it's good enough for most API docs that have curl samples.This is a sister tool to JSON-to-Go, which converts JSON to a Go struct type definition. To do the reverse, check out moul/http2curl.

Requests - Requests for PHP is a humble HTTP request library

  •    PHP

Requests is a HTTP library written in PHP, for human beings. It is roughly based on the API from the excellent Requests Python library. Requests is ISC Licensed (similar to the new BSD license) and has no dependencies, except for PHP 5.2+. Despite PHP's use as a language for the web, its tools for sending HTTP requests are severely lacking. cURL has an interesting API, to say the least, and you can't always rely on it being available. Sockets provide only low level access, and require you to build most of the HTTP response parsing yourself.

emacs-request - Request.el -- Easy HTTP request for Emacs Lisp

  •    Emacs

Request.el is a HTTP request library with multiple backends. It supports url.el which is shipped with Emacs and curl command line program. User can use curl when s/he has it, as curl is more reliable than url.el. Library author can use request.el to avoid imposing external dependencies such as curl to users while giving richer experience for users who have curl. As request.el is implemented in extensible manner, it is possible to implement other backend such as wget. Also, if future version of Emacs support linking with libcurl, it is possible to implement a backend using it. Libraries using request.el automatically can use these backend without modifying their code.


  •    PHP

CodeIgniter-cURL is a CodeIgniter library which makes it easy to do simple cURL requests and makes more complicated cURL requests easier too.

curl - A basic CURL wrapper for PHP

  •    PHP

The Curl object supports 5 types of requests: HEAD, GET, POST, PUT, and DELETE. You must specify a url to request and optionally specify an associative array or string of variables to send along with it. All requests return a CurlResponse object (see below) or false if an error occurred. You can access the error string with the $curl->error() method.

HTTPie - a CLI, cURL-like tool for humans

  •    Python

HTTPie (pronounced aitch-tee-tee-pie) is a command line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests using a simple and natural syntax, and displays colorized output. HTTPie can be used for testing, debugging, and generally interacting with HTTP servers.

curl - A command line tool and library for transferring data with URL syntax, supporting HTTP, HTTPS, FTP, FTPS, GOPHER, TFTP, SCP, SFTP, SMB, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP

  •    C

curl is used in command lines or scripts to transfer data. It is also used in cars, television sets, routers, printers, audio equipment, mobile phones, tablets, settop boxes, media players and is the internet transfer backbone for thousands of software applications affecting billions of humans daily.

curl-easy - cURL wrapper for PHP

  •    PHP

This is small but powerful and robust library which speeds the things up. If you are tired of using PHP cURL extension with its procedural interface, but you want also keep control about script execution - it's great choice for you! If you need high speed crawling in your project, you might be interested in stil/curl-easy extension - stil/curl-robot. In order to use cURL-PHP library you need to install the » libcurl package.


  •    PHP

HTTP client library written in PHP. Curly simplifies performing parallel HTTP requests by adding object oriented layer on the PHPs built-in solutions like cURL and streams.

wuzz - Interactive cli tool for HTTP inspection

  •    Go

Wuzz command line arguments are similar to cURL's arguments, so it can be used to inspect/modify requests copied from the browser's network inspector with the "copy as cURL" feature.Note: golang >= 1.7 required.

everything-curl - The book documenting the curl project, the curl tool, libcurl and everything related to this

  •    Perl

Everything curl is an extensive guide to everything there is to know about curl, the project, the command-line tool, the library, how everything started and how it came to be what it is today. How we work on developing it further, what it takes to use it, how you can contribute with code and bug reports and why all those millions of existing users use it. This book is meant to be interesting and useful to both casual readers and the somewhat more experienced developers, and offers something for you all to pick and choose from. Don't read it from front to back. Read the chapters you are curious about and go back and forth as you see fit.

Guzzle - an extensible PHP HTTP client

  •    PHP

Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. It can do both synchronous and asynchronous requests using the same interface, It supports simple interface for building query strings, POST requests, streaming large uploads, streaming large downloads, using HTTP cookies, uploading JSON data, etc, Uses PSR-7 interfaces for requests, responses, and streams.

cURL in Ch


The Ch cURL package is a Ch interface to the cURL C library. Ch cURL enables all functions in the cURL library to run in Ch interpretively without compilation. It is ideal for new programmers requiring FTP/FTPS/HTTP/HTTPS/GOPHER/TELNET/DICT/FILE/LDAP.

Curl ORB for java

  •    Java

Curl ORB is to comunicate between Curl and server side java. It can generate Curl source code from POJO which stands for Plain Old Java Object, and invoke the java methods on server side from Curl application.

curl-rust - Rust bindings to libcurl

  •    Rust

The put and post methods on Easy can configure the method of the HTTP request, and then read_function can be used to specify how data is filled in. This interface works particularly well with types that implement Read. The handle can be re-used across multiple requests. Curl will attempt to keep the connections alive.

curlcpp - An object oriented C++ wrapper for CURL (libcurl)

  •    C++

Note: cURL >= 7.34 is required. Then add <curlcpp root>/build/src/ to your library path and <curlcpp root>/include/ to your include path.

go-curl - golang curl(libcurl) binding.

  •    Go

my golang libcurl(curl) binding. go-curl is licensed under the Apache License, Version 2.0 (

grpcurl - Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

  •    Go

grpcurl is a command-line tool that lets you interact with gRPC servers. It's basically curl for gRPC servers. The main purpose for this tool is to invoke RPC methods on a gRPC server from the command-line. gRPC servers use a binary encoding on the wire (protocol buffers, or "protobufs" for short). So they are basically impossible to interact with using regular curl (and older versions of curl that do not support HTTP/2 are of course non-starters). This program accepts messages using JSON encoding, which is much more friendly for both humans and scripts.

ParallelCurl - A PHP class providing an easy interface for running multiple concurrent CURL requests

  •    PHP

A PHP class providing an easy interface for running multiple concurrent CURL requests

cpr - C++ Requests: Curl for People, a spiritual port of Python Requests

  •    C++

C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project. Despite its name, libcurl's easy interface is anything but, and making mistakes misusing it is a common source of error and frustration. Using the more expressive language facilities of C++11, this library captures the essence of making network calls into a few concise idioms.