Qortora · Search · Indexed page

en.wikipedia.orgFetched 2026-08-17T11:53:33Z

cURL - Wikipedia

cURL - Wikipedia Jump to content Main menu Main menu move to sidebar hide Navigation Main page Contents Current events Random article About Wikipedia Contact us Contribute Help Learn to edit Community portal Recent changes Upload file Special pages Search Search Appearance Donate…

Open original source · Full cached text

cURL - Wikipedia Jump to content Main menu Main menu move to sidebar hide Navigation Main page Contents Current events Random article About Wikipedia Contact us Contribute Help Learn to edit Community portal Recent changes Upload file Special pages Search Search Appearance Donate Create account Log in Personal tools Donate Create account Log in Contents move to sidebar hide (Top) 1 History 2 Components Toggle Components subsection 2.1 libcurl 2.2 curl 2.3 tiny-curl 3 Licensing 4 See also 5 References 6 External links Toggle the table of contents cURL 27 languages العربية Azərbaycanca Български Català Čeština Deutsch Español فارسی Suomi Français עברית Hrvatski Magyar Bahasa Indonesia Italiano 日本語 한국어 Nederlands Polski Português Русский සිංහල Svenska Türkçe Українська Tiếng Việt 中文 Edit links Article Talk English Read Edit View history Tools Tools move to sidebar hide Actions Read Edit View history General What links here Related changes Upload file Permanent link Page information Cite this page Get shortened URL Switch to legacy parser Print/export Download as PDF Printable version In other projects Abstract Wikipedia Wikimedia Commons Wikidata item Appearance move to sidebar hide From Wikipedia, the free encyclopedia Free URL data transfer client software Not to be confused with Curl (programming language). For other uses, see Curl. "},"developer":{"wt":"[https://curl.se/docs/thanks.html Contributors to the curl project]"},"released":{"wt":"{{Start date and age|1996}}<ref name=history />"},"latest release version":{"wt":"{{wikidata|property|preferred|reference|edit|Q286306|P348|P548=Q2804309}}"},"latest release date":{"wt":"{{wikidata|qualifier|preferred|single|Q286306|P348|P548=Q2804309|P577}}"},"latest preview version":{"wt":"{{wikidata|property|preferred|reference|edit|Q286306|P348|P548=Q51930650}}"},"latest preview date":{"wt":"{{wikidata|qualifier|preferred|single|Q286306|P348|P548=Q51930650|P577}}"},"programming language":{"wt":"[[C (programming language)|C]]"},"platform":{"wt":"29 platforms (see {{section link || libcurl}} for details)"},"genre":{"wt":"[[Web client]] (supports e.g. [[HTTPS]], and [[FTP client|FTP]])"},"license":{"wt":"curl license<ref name=\"spdx\">{{cite web |url=https://spdx.org/licenses/curl.html |title=curl License |website=spdx.org}}</ref><ref name=\"license\">{{cite web |url=https://curl.se/docs/copyright.html |title=curl – copyright |website=curl.se |access-date=2024-01-17 |url-status=live |archive-url=https://web.archive.org/web/20240115151446/https://curl.se/docs/copyright.html |archive-date=2024-01-15}}</ref> (inspired by the [[MIT License]]<ref name=\"license\"/>) and a fraction uses the [[ISC license|ISC]]"}},"i":0}}]}'>curl Original author Daniel Stenberg[1] Developer Contributors to the curl project Release 1996; 30 years ago (1996)[2] Stable release 8.21.0[3]  / 24 June 2026 Written in C Platform 29 platforms (see § libcurl for details) Type Web client (supports e.g. HTTPS, and FTP) License curl license[4][5] (inspired by the MIT License[5]) and a fraction uses the ISC Website curl.se  Repository github.com/curl/curl cURL (pronounced like "curl",[6] /kɜːrl/) is a free and open-source computer program for transferring data to and from Internet servers. It can download resources identified by URLs from a web server over HTTP and supports a variety of other network protocols, URI schemes, multiple versions of HTTP, and proxying. The project consists of a library (libcurl) and command-line tool (curl), which have been widely ported to different computing platforms. It was created by Daniel Stenberg, who is still the lead developer of the project. History [edit] The software was first released in 1996,[7] originally named httpget and then became urlget, before adopting the current name of curl.[8][9] The name stands for "Client and URL".[10] The original author and lead developer is the Swedish developer Daniel Stenberg, who created curl to power part of an IRC bot, because he wanted to automatically provide currency exchange rates, fetched from a website, to users in an IRC chat room.[2] Components [edit] libcurl [edit] libcurl is a client-side URL transfer library that powers curl.[11] It supports numerous internet protocols including DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl supports HTTP versions 0.9, 1.0, 1.1, HTTP/2 and HTTP/3 including h2c, prior-knowledge, dual-connect modes, and QUIC with 0-RTT handshakes. The library provides features such as cookie handling, standard HTTP request methods (GET, POST, PUT, HEAD, multipart form uploads), and authentication mechanisms including Basic, Digest, NTLM, Negotiate, CRAM-MD5, SCRAM-SHA, Kerberos, Bearer tokens, AWS Sigv4, SASL, and reading credentials from .netrc. libcurl supports a variety of security and transport features, including TLS 1.0-1.3, mutual authentication, STARTTLS, OCSP stapling, Encrypted Client Hello (ECH), False Start, key pinning, post-quantum readiness, session resumption, early data, session import/export, HSTS, Alt-Svc, Public Suffix List (PSL), entity tags (ETags), range requests, transfer compression (gzip, Brotli, zstd), custom headers, custom methods, and redirect following. It also offers proxy and networking support, including SOCKS4, SOCKS5, HAProxy, and HTTP proxies with chaining and Unix domain sockets, as well as user-plus-password authentication[12]. Advanced name-resolution features include DNS-over-HTTPS, custom DNS servers, host/port mappings, and DNS caching. Additional functionality includes file transfer resume, FTP uploading, form-based HTTP upload, HTTPS certificates, and mechanisms for controlling and monitoring transfers such as configurable timeouts, automatic retries, rate limiting, and detection of stalled connections. The library also provides enhanced reporting features, including JSON-formatted metadata, content-disposition handling, IDN hostname display, and customizable transfer information. The libcurl library is portable, as it builds and works identically on most platforms, including:[13][14][15] \n* Cesium\n* [[Darwin (operating system)|Darwin]]\n* [[DOS]]\n* [[Deos]]\n* [[FreeBSD]]\n* [[FreeRTOS]]\n* [[HP-UX]]\n* [[HURD]]\n* [[iOS]]\n* [[IRIX]]\n* [[Linux]]\n* [[macOS]]\n* [[NetBSD]]\n* [[NetWare]]\n* [[OpenBSD]]\n* [[OpenHarmony]] ([[HarmonyOS]])\n* [[OpenVMS]]\n* [[OS/2]]\n* [[QNX]]\n* [[QNX Neutrino]]\n* [[RISC OS]]\n* [[RTEMS]]\n* [[Solaris (operating system)|Solaris]]\n* [[Symbian]]\n* [[Tru64]]\n* [[Ultrix]]\n* [[UnixWare]]\n* [[Windows]]\n* [[VxWorks]]\n* [[Zephyr_(operating system)|Zephyr]]\n",{"template":{"target":{"wt":"div col end","href":"./Template:Div_col_end"},"params":{},"i":1}}]}'> AIX AmigaOS Android Azure Sphere OS BeOS BlackBerry Tablet OS and BlackBerry 10[16] Cesium Darwin DOS Deos FreeBSD FreeRTOS HP-UX HURD iOS IRIX Linux macOS NetBSD NetWare OpenBSD OpenHarmony (HarmonyOS) OpenVMS OS/2 QNX QNX Neutrino RISC OS RTEMS Solaris Symbian Tru64 Ultrix UnixWare Windows VxWorks Zephyr The libcurl library is thread-safe and IPv6 compatible. Bindings are available for more than 50 languages, including C, C++, Java, Julia (is bundled with), PHP and Python.[17] The libcurl library supports SSL/TLS through GnuTLS, mbedTLS, SChannel (on Windows), OpenSSL, BoringSSL, AWS-LC, QuicTLS, LibreSSL, AmiSSL, wolfSSL and rustls.[18] curl [edit] curl is a command-line tool for getting or sending data, including files, using URL syntax. curl provides an interface to the libcurl library; it supports every protocol libcurl supports.[12] curl supports HTTPS, and performs SSL or TLS certificate verification by default. When curl connects to a remote server via HTTPS, it will obtain the remote server certificate, then checks against its CA certificate store the validity of the remote server to ensure the remote server is the one it claims to be. Some curl packages are bundled with a CA certificate store file. There are several options to specify a CA certificate, such as --cacert and --capath. The --cacert option can be used to specify the location of the CA certificate store file. Starting with Windows 10 version 1809, Windows ships with curl.exe.[15] On Microsoft Windows, if a CA certificate file is not specified, curl will look for the curl-ca-bundle.crt file in the following locations, in the order given:[19] App's folder (where curl.exe is located) Current working directory C:\Windows\System32 directory C:\Windows directory Directories specified in the PATH environment variable curl will return an error message if the remote server is using a self-signed certificate, or if the remote server certificate is not signed by a CA listed in the CA cert file. -k or --insecure option can be used to skip certificate verification. Alternatively, if the remote server is trusted, the remote server CA certificate can be added to the CA certificate store file. tiny-curl [edit] tiny-curl is a lightweight version of libcurl developed by wolfSSL Inc. for embedded and resource-constrained devices. It implements HTTPS functionality in roughly 100 KB of code on typical 32-bit architectures. Licensing [edit] curl and libcurl are distributed under the MIT License. tiny-curl, a version of curl optimized for embedded systems and supported by wolfSSL, is available under both the GNU GPLv3-or-later and commercial licensing. Rock-solid curl,[20] the long-term support (LTS) edition, uses the same curl license by default, with an option for commercial licensing for organizations that require contractual support or warranty coverage. See also [edit] Free and open-source software portal curl-loader – an open-source testing tool based on curl libwww – an early library that comes with a command line interface PowerShell – the iwr (Invoke-WebRequest) Windows PowerShell had functionality similar to curl; class Web-client too.[21] Web crawler – an internet bot that can crawl the web Wget – similar command-line tool with no associated library but capable of recursive downloading References [edit] {{cite web |url=https://daniel.haxx.se/blog/2015/03/20/curl-17-years-old-today/ |title=curl, 17 years old today |last1=Stenberg |first1=Daniel |date=20 March 2015 |website=daniel.haxx.se |access-date=20 March 2015}}</ref>\n<ref name=history>{{cite web |url=https://curl.se/docs/history.html |title=History of curl - How curl Became Like This |publisher=curl |access-date=November 17, 2016 |quote=Daniel simply adopted an existing command-line open-source tool, httpget, that Brazilian Rafael Sagula had written and recently release version 0.1 of. After a few minor adjustments, it did just what he needed. [...] HttpGet 1.0 was released on April 8th 1997 with brand new HTTP proxy support. [...] Stenberg was spending time writing an IRC bot for an Amiga related channel on EFnet. He then came up with the idea to make currency-exchange calculations available to Internet Relay Chat (IRC) users. |archive-url=https://web.archive.org/web/20170930163727/https://curl.se/docs/history.html |archive-date=September 30, 2017 |url-status=dead }}</ref>\n<ref name = \"FAQ, haxx.se\" >{{Cite web|url=https://curl.se/docs/faq.html|title=curl - Frequently Asked Questions|website=curl.se}}</ref>\n<ref name = \"Stenberg, haxx.se, 2018\" >{{Cite web|url=https://everything.curl.dev/project/name|title=Origin of the name|last=Stenberg|first=Daniel|website=curl.se|language=en|access-date=2021-03-27}}</ref>\n<ref name=\"BlueOne\">{{cite web|title=Conversing through the Internet with cURL and libcurl - Using libcurl with C and Python|url=https://www.ibm.com/developerworks/library/os-curl/index.html|website=IBM Developerworks|access-date=12 September 2018|first=M. Tim|last=Jones|date=8 September 2009|url-status=live|archive-date=14 April 2015|archive-url=https://web.archiv…