Please enable JavaScript.
Coggle requires JavaScript to display documents.
Curl Command (Download files (curl -O https://domain.com/file.zip, curl -O…
Curl Command
Download files
curl -O
https://domain.com/file.zip
curl -O
https://domain.com/file.zip
-O
https://domain.com/file2.zip
curl -u user sftp://server.domain.com/path/to/file
Connect FTP
List FTP files/directionary
curl ftp://ftp.domain.com --user username:password
Download files
curl ftp://ftp.domain.com/file.zip --user username:password
Upload files
curl -T file.zip ftp://ftp.domain.com/ --user username:password
Post JSON
Linux
curl -X POST -H "Content-Type: application/json" -d '{"key":"val"}' URL
Windows
curl -i -X POST -H "Content-Type: application/json" -d "{\"key\":\"val\"}"
http://localhost:8080/appname/path
Using File
curl -X POST --data
json_out.txt
http://localhost:8080/
Check website
curl
http://www.google.com
Save contents
curl -o website
https://domain.com
Get HTTP Header
curl -I
http://domain.com
Tools
Wrapper Tool - resty