Note: Curlify is currently in beta and under active development. We are looking for open-source contributions to make it even better!
You can install Curlify directly from the source using the go install
command. Follow these steps:
- Ensure you have Go installed (version 1.18 or later).
-
Open your terminal.
-
Run the following command to install Curlify:
go install github.com/codeshaine/curlify@latest
-
After installation, ensure your
$GOPATH/bin
or$HOME/go/bin
is in yourPATH
environment variable.
Once installed, you can use Curlify to test your APIs directly from the terminal:
curlify
Follow the on-screen instructions to interact with the tool.
i
: Enter edit mode to modify the method, URL, or body.h
: Focus on the header section in normal mode (it will go to edit mode in body section for writing headers).esc
: Exit edit mode and return to normal mode.j/k
: Navigate between method, URL, body, and result sections in normal mode.g
: Make a request (when URL is provided) in normal mode.q
: Quit the application.
This project is licensed under the MIT License. See the LICENSE file for more details.
If you encounter any issues or have feature requests, feel free to open an issue in the repository!