https://github.com/fastily/http-echo-server
🏓 A simple HTTP echo server
https://github.com/fastily/http-echo-server
echo-server python3
Last synced: 8 months ago
JSON representation
🏓 A simple HTTP echo server
- Host: GitHub
- URL: https://github.com/fastily/http-echo-server
- Owner: fastily
- License: gpl-3.0
- Created: 2022-01-07T07:44:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-15T08:55:37.000Z (12 months ago)
- Last Synced: 2025-03-17T03:25:43.047Z (11 months ago)
- Topics: echo-server, python3
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# http-echo-server
[](https://www.python.org)
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
Simple HTTP echo server that responds back with whatver you sent it in plain text. Intended as debugging/testing tool.
👉 The "echoed" body (if a body was included in the original request) will auto-format json and form data for legibility.
## Run
```bash
# start in development mode, visit http://127.0.0.1:8000 to view the web interface
python -m http_echo_server
# run w/ gunicorn, accessible at localhost:8000
gunicorn -w 2 -b "0.0.0.0" http_echo_server.__main__:app
```