Forrest logo
back to context overview

curl

List of commands for curl:

  • curl:ai:25994 How to upload image
    $ curl -F 'image=@/path/to/image.jpg' http://example.com/upload
    try on your machine
    explain this command
  • curl:ai:27919 Open an email by message-id
    $ curl -u 'username:password' -X GET 'https://api.yandex.com/mail/v2/messages?ids=${message_id}'
    try on your machine
    explain this command
  • curl:ai:468a2 how do i copy a websites html and javascryp
    $ curl ${website_url} --output website.html
    try on your machine
    explain this command
  • curl:ai:74fd0 How to run install plesk?
    $ curl https://autoinstall.plesk.com/one-click-installer | sh && plesk installer
    try on your machine
    explain this command
  • curl:ai:90a4c how do i ask the author of this website to delete a page?
    $ curl -X DELETE -u ${username}:password https://www.example.com/page
    try on your machine
    explain this command
  • curl:ai:b4309 how do i copy a websitse front end html
    $ curl -o website.html http://website-url.com
    try on your machine
    explain this command
  • curl:ai:bc1c8 Download and run the Plesk installer script
    $ curl -o installer.sh https://installer.plesk.com/one-click-installer && sh installer.sh
    try on your machine
    explain this command
  • curl:ai:c4ddc Download DDRescueView for Windows
    $ curl -LO https://sourceforge.net/projects/ddrescueview/files/latest/download
    try on your machine
    explain this command
  • curl:ai:d57e9 how do I test this port 8087 is working without doing this command - telnet rctq-kvs2-02-b.qa.gtnexus.com 8087
    $ curl -IsS -m 5 rctq-kvs2-02-b.qa.gtnexus.com:8087
    try on your machine
    explain this command
  • curl:ai:fc3ad Download and run the install script for npm.
    $ curl -L https://npmjs.org/install.sh | sh
    try on your machine
    explain this command
  • curl:ai:fd456 Downloads a file from a website using the curl command
    $ curl -o ${filename} https://website.com/${filename}
    try on your machine
    explain this command
  • curl:headers:get Run a curl request and return the headers
    $ curl -I ${url}
    try on your machine
    explain this command
  • curl:tldr:0e30a curl: View documentation for the original `curl` command in older versions of `tldr` command-line client.
    $ tldr curl -o common
    try on your machine
    explain this command
  • curl:tldr:25397 curl: View documentation for the original `curl` command.
    $ tldr curl -p common
    try on your machine
    explain this command
  • curl:tldr:399e1 curl: Pass a username and password for server authentication.
    $ curl --user myusername:mypassword ${http:--example-com}
    try on your machine
    explain this command
  • curl:tldr:3d839 curl: Send form-encoded data (POST request of type `application/x-www-form-urlencoded`). Use `--data @file_name` or `--data @'-'` to read from STDIN.
    $ curl --data ${'name=bob'} ${http:--example-com-form}
    try on your machine
    explain this command
  • curl:tldr:4500b curl: Download the contents of a URL to a file.
    $ curl ${http:--example-com} --output ${filename}
    try on your machine
    explain this command
  • curl:tldr:540ac curl: Pass client certificate and key for a resource, skipping certificate validation.
    $ curl --cert ${client-pem} --key ${key-pem} --insecure ${https:--example-com}
    try on your machine
    explain this command
  • curl:tldr:5ed9f curl: Check whether `curl` is properly installed by printing its version number. If this command evaluates into an error, PowerShell may have substituted this command with `Invoke-WebRequest`.
    $ curl --version
    try on your machine
    explain this command
  • curl:tldr:92448 curl: View documentation for PowerShell's `Invoke-WebRequest` command.
    $ tldr invoke-webrequest
    try on your machine
    explain this command
  • curl:tldr:aeb75 curl: Download a file, saving the output under the filename indicated by the URL.
    $ curl --remote-name ${http:--example-com-filename}
    try on your machine
    explain this command
  • curl:tldr:d1adb curl: Send data in JSON format, specifying the appropriate content-type header.
    $ curl --data ${'{"name":"bob"}'} --header ${'Content-Type: application-json'} ${http:--example-com-users-1234}
    try on your machine
    explain this command
  • curl:tldr:feb19 curl: Send a request with an extra header, using a custom HTTP method.
    $ curl --header ${'X-My-Header: 123'} --request ${PUT} ${http:--example-com}
    try on your machine
    explain this command
  • curl:warp:2450e4dd99f7f77e9479659d4061a538 cURL a URL and follow redirects
    $ curl -L ${url}
    try on your machine
    explain this command
  • curl:warp:9d42768e9a94bd536acbafafe8adeb28 POST JSON data with cURL
    $ curl --header "Content-Type: application/json" \
    $ --request POST \
    $ --data '${json_data}' \
    $ ${url}
    try on your machine
    explain this command
  • curl:warp:ddb2d3519798374d4b76ef0160a84b72 Set an Bearer authorization header with a cURL request
    $ curl -H "Authorization: Bearer ${access_token}" ${url}
    try on your machine
    explain this command
  • curl:warp:deb495d28649d13fee28d0d983995b46 Set an OAuth authorization header with a cURL request
    $ curl -H "Authorization: OAuth ${access_token}" ${url}
    try on your machine
    explain this command
  • curl:warp:e6fb89c914b5eed3543d4bf3696cb97d Attach a header to an HTTP request with cURL
    $ curl --header "${header}" ${url}
    try on your machine
    explain this command
  • curl:warp:f69f37e58240c5cc6c3a6cc3844d3cab Display request headers from a cURL request
    $ curl -v ${url}
    try on your machine
    explain this command
back to context overview