Skip to content
/ httpbin Public

A network tool provides request record service and custom route responses.

Notifications You must be signed in to change notification settings

X3NNY/httpbin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTPBin

Issues Stars License

  • HTTPBin is a network tool provides request record service and custom route responses.

    You can public service that we deployed on the internet, but not at now.

    Site: http://httpbin.icu/ (future)

Intro

  1. HTTPBin support multi-user use online as the same time.
  2. You can turn on/off recording manually.
  3. It can automatically analyze data parameters and dump to disk.
  4. It can filter and batch export raw content.
  5. It supports custom multiple specified route response content.

Usage

  • You can clone this repo and build it on local machine via docker, another way to get simple is by following the command

    docker pull xenny/httpbin
  • Next, you need complete some necessary pre-steps before running it.

    1. Prepare a VPS with docker server
    2. Prepare a domain with full DNS control
    3. Add a new DNS A record to bind the VPS IP (e.g. httpbin.icu ----> xxx.xxx.xxx.xxx)
    4. Add an A record for all subdomain (e.g. *.httpbin.icu ----> xxx.xxx.xxx.xxx)
  • Finally, just run with next command.

    docker run -it -p 80:80 -e HOST=your.domain xenny/httpbin
  • As it, you can also running it natively when you DNS record is right done.(Remember to modify the host in settings.py)

    pip install -r requirements.txt
    python main.py

Future

  1. IP Mode support
  2. DNS log support
  3. Custom response headers
  4. Your issues:)

Feedback&BUG&Contribute

  • If you have any other idea/problem in usage, you can create an issues or pull-request and describe it in much detail.

Thanks

About

A network tool provides request record service and custom route responses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published