Curlie is a simple command-line HTTP client for working with websites and APIs from the terminal. It provides options to send HTTP requests, check response headers, send data, download files, and test APIs. Curlie can be installed on Termux with a simple command and provides useful features for working with HTTP requests.
Here’s what you can do with Curlie:
- Send HTTP GET and POST requests.
- View website response headers.
- Test REST APIs.
- Send custom HTTP headers.
- Send form data.
- Download files.
- Test different HTTP methods.
- Work with JSON APIs.
- Inspect HTTP responses directly from the terminal.
Install Curlie in Termux
You only need one command to install Curlie in Termux, run the command below.
First, update the Termux packages.
pkg update && pkg upgrade -yInstall Curlie.
pkg install curlie -yCheck if Curlie is installed correctly.
curlie --versionYou can also check the available options.
curlie --helpUsage Commands
You can use different options to send HTTP requests, check website responses, view headers, send data, and work with APIs.
Send a basic GET request to a website.
curlie https://example.comThis will send a request to the website and display the response.
View only the response headers.
curlie -I https://example.comSend a GET request with a custom header.
curlie -H "User-Agent: MyBrowser" https://example.comSend a POST request.
curlie -X POST https://example.comSend form data with a POST request.
curlie -X POST -d "name=John&email=test@example.com" https://example.comSend JSON data to an API.
curlie -X POST -H "Content-Type: application/json" -d '{"name":"Achik"}' https://example.com/apiSpecify a different HTTP method.
curlie -X PUT https://example.comYou can also use DELETE:
curlie -X DELETE https://example.comSave the response to a file.
curlie https://example.com -o response.htmlFollow HTTP redirects.
curlie -L https://example.comAdd multiple custom headers.
curlie -H "Accept: application/json" -H "User-Agent: MyClient" https://example.comSend basic authentication credentials.
curlie -u username:password https://example.comFor more available options, use:
curlie --helpYou can try different Curlie commands to understand how HTTP requests and responses work.
End Note
Curlie is a simple and useful tool for sending HTTP requests in Termux. With a few easy commands, you can check websites, test APIs, view headers, and work with different types of HTTP requests.

