Fetchy is a minimal, curl-like command-line utility written in C for fetching web content over HTTP/HTTPS.
Clone the repository and run make in the project's root directory:
$ git clone https://github.com/Farhan291/fetchy.git
$ cd fetchy
$ make Provide a URL as a command-line argument.
To fetch a URL and display only its body:
$ ./main https://man.archlinux.org/ To include the response headers in the output, use the -h flag:
$ ./main -h https://man.archlinux.org/ - send get request from cli
- An optional flag (-h) to view the response headers.
- can serve html pages
- support https too
- [] make it ready for POST and PUT
- [] parse the html page