8000 GitHub - ericbsantana/gurl: 📜 A simple command-line tool to make HTTP requests. Inspired by cURL, proudly made with Go · GitHub
[go: up one dir, main page]

Skip to content
ericbsantanaPublic

About

📜 A simple command-line tool to make HTTP requests. Inspired by cURL, proudly made with Go

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.httpb
5FFA
in.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

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0