https://github.com/x3nny/httpbin
A network tool provides request record service and custom route responses.
https://github.com/x3nny/httpbin
httpbin requestbin
Last synced: 4 months ago
JSON representation
A network tool provides request record service and custom route responses.
- Host: GitHub
- URL: https://github.com/x3nny/httpbin
- Owner: X3NNY
- Created: 2022-09-06T12:19:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-09T17:53:24.000Z (about 3 years ago)
- Last Synced: 2025-03-24T11:17:37.342Z (7 months ago)
- Topics: httpbin, requestbin
- Language: Vue
- Homepage:
- Size: 1.04 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTTPBin
[](https://img.shields.io/github/issues/X3NNY/httpbin)
[](https://img.shields.io/github/stars/X3NNY/httpbin)
* 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/](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
```bash
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.
```bash
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`)
```bash
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
* Test: [@Airrudder](https://github.com/Airrudder)