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

https://github.com/foo4u/bad-api-server

Simple web service for testing out downstreams handle a broken GZIP stream.
https://github.com/foo4u/bad-api-server

Last synced: 10 months ago
JSON representation

Simple web service for testing out downstreams handle a broken GZIP stream.

Awesome Lists containing this project

README

          

# Bad API Server

Just a simple web service for testing out downstreams handle a broken GZIP stream.

## Endpoints

Provides 2 endpoints:

* `/zip/bad` returns a truncated gzipped response
* `/zip/good` returns a complete gzipped response

## Running

Requires Java JDK 8+.

### From Source

Clone this repository and run:

$ ./gradlew bootRun

### From Release

Downlaod the jar file from GitHub and run:

$ java -jar bad-api-server-1.0-SNAPSHOT.jar