liveBook · Manning

Curl

curl is a command-line tool for transferring data to or from network resources using supported protocols; the name also refers to its transfer library, libcurl.

How 2 Manning books explain it

Learn Go with Pocket-Sized Projects

curl is a command-line tool for transferring data to and from network services, including HTTP servers.

How it is used
Tests a running local HTTP service from the command line instead of requiring a browser or a separate client program.
How deep it goes
Demonstrates commands, method selection, and verbose response inspection, but does not develop curl scripting or configuration.
Examples
Shows requests to localhost:8080 and /games, including a 404, a verbose 405 response, and a POST response.
What you can do after
Apply it via curl to probe a local HTTP endpoint, choose POST, and inspect the returned status and body.

Read how Learn Go with Pocket-Sized Projects explains curl →

The Complete Obsolete Guide to Generative AI

curl is an open-source command-line tool for transferring data through network protocols.

How it is used
Sends API requests for generative-AI workflows, including uploading PDFs and submitting chat prompts.
How deep it goes
Works through a two-request POST workflow, headers, JSON payloads, sourceID handling, and Bash continuation rules.
Examples
Demonstrates adding a PDF by URL, asking its main topic, and looping over file lines to generate assessment prompts.
What you can do after
Operate/configure it to authenticate with ChatPDF, upload a PDF source, and submit repeatable prompt requests.

Read how The Complete Obsolete Guide to Generative AI explains curl →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.