An open API service indexing awesome lists of open source software.

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.

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).