xellio / fire

Send HTTP requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Go 91.1%Language:Makefile 8.9%