CURL
CURL
| Créateur | Daniel Stenberg |
|---|---|
| Première version | (29 ans, 283 jours) |
| Dernière version | 8.21.0 ()[1] |
| Dépôt | github.com/curl/curl |
| Assurance qualité | Intégration continue |
| État du projet | En développement |
| Écrit en | C |
| Système d'exploitation | Microsoft Windows, GNU/Linux, macOS et BSD |
| Langues | Anglais |
| Type |
Utilitaire de ligne de commande (en) Bibliothèque logicielle Client HTTP |
| Politique de distribution | Gratuit |
| Licence | Licence curl (d) |
| Documentation | curl.se/docs |
| Site web | curl.se |
cURL (abréviation de client URL request library : « bibliothèque de requêtes aux URL pour les clients » ou see URL : « voir URL ») est une interface en ligne de commande, destinée à récupérer le contenu d'une ressource accessible par un réseau informatique.
La ressource est désignée à l'aide d'une URL et doit être d'un type supporté par le logiciel (voir ci-dessous). Le logiciel permet de créer ou modifier une ressource (contrairement à wget), il peut ainsi être utilisé en tant que client REST.
Le programme cURL implémente l'interface utilisateur et repose sur la bibliothèque logicielle libcurl, développée en langage C. Celle-ci est ainsi accessible aux programmeurs qui veulent disposer des fonctionnalités d'accès au réseau dans leurs programmes. Des interfaces ont été créées dans de nombreux langages (C++, Java, .NET, Perl, PHP, Ruby...).
La bibliothèque supporte notamment les protocoles DICT, file, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, Telnet et TFTP.
Le support d'IPFS est ajouté dans le code le [2].
L'écriture peut se faire en HTTP en utilisant les commandes POST ou PUT.
Exemple
Pour obtenir l'en-tête HTTP d'une page :
$ curl -I www.example.org
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=604800
Content-Type: text/html
Date: Mon, 07 Mar 2016 11:21:41 GMT
Etag: "359670651+gzip"
Expires: Mon, 14 Mar 2016 11:21:41 GMT
Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT
Server: ECS (atl/FC90)
X-Cache: HIT
x-ec-custom-error: 1
Content-Length: 1270
Références
- ↑ « Release 8.21.0 », (consulté le )
- ↑ « curl: add support for the IPFS protocols », sur Curl sur Github
Annexes
Articles connexes
Liens externes
- (en) Site officiel
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.
