Skip to content
/ roll Public

A colorful implementation of a cli tool to make http requests

Notifications You must be signed in to change notification settings

greeenboi/roll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roll 🎲

Just Roll with it.

A colorful implementation of a cli tool to make http requests

Sample command

$ cargo run https://www.boredapi.com/api/activity 

Response

{
    "activity":"Go to the gym",
    "type":"recreational",
    "participants":1,
    "price":0.2,
    "link":"",
    "key":"4387026",
    "accessibility":0.1
}

Usage and flags

verbose flag

$ cargo run -v https://www.boredapi.com/api/activity 
$ cargo run --verbose https://www.boredapi.com/api/activity 



headers flag

$ cargo run https://www.boredapi.com/api/activity -H 'your headers here'



method flag

$ cargo run https://www.boredapi.com/api/activity -X 'your Method'



data flag

$ cargo run https://www.boredapi.com/api/activity -d 'your data / Payload'




Find more APis Here

Made with Rust. 🦀

About

A colorful implementation of a cli tool to make http requests

Topics

Resources

Stars

Watchers

Forks

Languages