Talking to the Web: curl

curl fetches whatever is at a web address, from the terminal or a script: it prints a page, saves a download with -o or -O, asks a web API for JSON, shows the status code with -w, and with -f fails on an error instead of saving the error page.

Updated

Cheat sheet for the lesson Talking to the Web: curl: curl fetches whatever is at a web address, from the terminal or a script: it prints a page, saves a download with -o or -O, asks a web API for JSON, shows the status code with -w, and with -f fails on an error instead of saving the error page.
Category
Bash
Level
Journeyman
Tags
API, curl, linux, Query String, Status Code, unix, URL