The all-time favorite client-side networking tool for basic stuff.
It is seriously one of the best free and open-source tool out there with the plethora of protocols, leading implementation for various protocols such as HTTP3, and a lot of configurable options to fully control your request.
* Synopsis
#+begin_src
curl [option...] [URL...]
#+end_src
cURL supports creating requests with different protocols.
Among them are HTTP, Gopher, DICT, and simple file.
To see more, you can view the cURL manual page (i.e., ~man curl.1~) and see the protocols section.
* Options
- =-o [FILE], --output [FILE]= - save the results in the given file
- =-O, --remote-name= - save the results as the remote name; useful for downloading
- =-L, --location= - if there redirects, follow them; mainly used in HTTP
* Examples
This is a massive tool with a massive history so a massive list may be justified for this one.
** Basic usage
#+begin_src bash
# It will be recognized as a request to an HTTP endpoint in 'gnu.org'.