https://github.com/phxql/header-mirror
A small micronaut application which returns all request headers as plain text to the caller
https://github.com/phxql/header-mirror
Last synced: 3 months ago
JSON representation
A small micronaut application which returns all request headers as plain text to the caller
- Host: GitHub
- URL: https://github.com/phxql/header-mirror
- Owner: phxql
- Created: 2020-01-30T14:38:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-20T11:27:27.000Z (over 6 years ago)
- Last Synced: 2025-01-08T08:14:28.307Z (over 1 year ago)
- Language: Java
- Size: 70.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Header mirror
A small micronaut application which returns all request headers as plain text to the caller.
## Why?
Useful for debugging stuff like the Keycloak Gatekeeper.
## Running
1. `./gradlew run`
1. Open http://localhost:12345/
## Building
1. `./gradlew build`
1. See `build/distributions/` folder
## FAQ
### How can I change the port?
Set the `MICRONAUT_SERVER_PORT` variable to the port you want to run it on. e.g. `MICRONAUT_SERVER_PORT=8080 bin/header-mirror` runs the server on port 8080.
## License
[CC0](https://creativecommons.org/publicdomain/zero/1.0/deed.en)