github

gchaincl / httplab

  • среда, 8 марта 2017 г. в 17:26:56
https://github.com/gchaincl/httplab

Go
An interactive web server



HTTPLab Build Status

An interactive web server.

HTTPLabs let you inspect HTTP requests and forge responses.

screencast

Install

Golang

go get github.com/gchaincl/httplab

Archlinux

yaourt httplab

Binary distribution

Each release provides pre-built binaries for different architectures, you can download them here: https://github.com/gchaincl/httplab/releases/latest

Help

Usage of httplab:
  -config string
        Specifies custom config path.
  -port int
        Specifies the port where HTTPLab will bind to. (default 10080)
  -version
        Prints current version.

Key Bindings

Key Description
Tab Next Input
Shift+Tab Previous Input
Ctrl+a Apply Response changes
Ctrl+s Save Response as
Ctrl+l Toggle responses list
Ctrl+o Open Body file
Ctrl+b Switch Body mode
Ctrl+h Toggle Help
q Close popup
PgUp Previous Request
PgDown Next Request
Ctrl+c Quit

HTTPLab uses file to store pre-built responses, it will look for a file called .httplab on the current directory if not found it will fallback to $HOME. A sample file can be found here.

HTTPLab is heavily inspired by wuzz