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.
- Host: GitHub
- URL: https://github.com/foo4u/bad-api-server
- Owner: foo4u
- Created: 2017-12-13T15:33:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-13T15:44:51.000Z (over 8 years ago)
- Last Synced: 2025-06-16T03:09:22.032Z (about 1 year ago)
- Language: Java
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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