Skip to content

xellio/fire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fire - send http requests

Send HTTP requests

go report card Build Status MIT license GoDoc

build

make

if not using upx run

make build

the binary is generated in ./bin/

usage

define requests in a JSON file

[
    {
        "METHOD": "GET",
        "URL": "http://www.prillwitz.io",
        "AUTH": {
            "username": "",
            "password": ""
        },
        "HEADERS": {
            "User-Agent": "fire"
        },        
        "PAYLOAD": {
            "block": "true"
        }
    }
]

Run

fire ./path/to/requests.json

Output

REQUEST:        [GET]   http://www.prillwitz.io?block=true
HEADERS:        {"User-Agent":["fire"]}
PAYLOAD:        null
RESPONSE:       503

About

Send HTTP requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published