https://github.com/mre/teapot
🫖 A super simple dummy server for testing HTTP clients. No dependencies. The little brother of https://github.com/mufeedvh/binserve.
https://github.com/mre/teapot
dummy mock webserver
Last synced: over 1 year ago
JSON representation
🫖 A super simple dummy server for testing HTTP clients. No dependencies. The little brother of https://github.com/mufeedvh/binserve.
- Host: GitHub
- URL: https://github.com/mre/teapot
- Owner: mre
- Created: 2022-11-07T21:53:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T11:39:07.000Z (over 3 years ago)
- Last Synced: 2024-10-05T09:02:25.177Z (over 1 year ago)
- Topics: dummy, mock, webserver
- Language: Rust
- Homepage:
- Size: 3.91 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🫖 teapot
A super simple dummy server for testing HTTP clients.
Zero dependencies.
## Installation
```bash
cargo install --git https://github.com/mre/teapot.git
```
## Usage
```bash
teapot
```
This will always respond with a `200`; no matter what.
You can configure the port with the `PORT` environment variable.
```
PORT=8080 teapot
```
## Credits
Based on [mockserver](https://github.com/takakawa/mockserver) by
[takakawa](https://github.com/takakawa).