Search Posts

Basic – cURL

What is Curl

curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT,

FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP,

SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user in‐

teraction.

curl offers a busload of useful tricks like proxy support, user authentication, FTP upload, HTTP

post, SSL connections, cookies, file transfer resume, Metalink, and more.

 
 

Most used

GET

By default, cURL will perform GET requests on whatever URL you supply

Example: cURL www.google.com

 
 

POST

Sending to

curl <url> -X POST -d “data to send”

59 Total Views 1 Views Today

Leave a Comment

Leave a Reply