Skip to content

๐Ÿ“œ A simple command-line tool to make HTTP requests. Inspired by cURL, proudly made with Go

License

Notifications You must be signed in to change notification settings

ericbsantana/gurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

gURL

gURL is a Golang command line tool inspired by curl. It can be used to make HTTP requests to a server.

Purpose of the Project

This project was created to provide a simple CLI tool for making HTTP requests. While it's not as comprehensive as curl, it serves as a practical introduction to creating CLI tools with Go. This project was also a response to a coding challenge.

Installation

To install this project, you need to have Go installed on your machine. Then, you can clone this repository and build the project:

git clone https://github.com/ericbsantana/gurl
cd gurl
go build

Usage

To use this project, you can run the built binary with the desired options. The following are some examples of how to use this CLI:

gurl http://eu.httpbin.org/get
gurl http://eu.httpbin.org/bearer -H 'Authorization: Bearer guineapig'
gurl http://eu.httpbin.org/post -X POST -d '{"name": "Robert J. Oppenheimer"}' -H "Content-Type: application/json"
gurl http://eu.httpbin.org/put -X PUT -d '{"name": "Ludwig Wittgenstein"}' -H "Content-Type: application/json"

Contributing

Contributions are welcome. Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

๐Ÿ“œ A simple command-line tool to make HTTP requests. Inspired by cURL, proudly made with Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages