https://github.com/thecodesmith/echo-server
A simple server to debug webhooks
https://github.com/thecodesmith/echo-server
Last synced: about 1 year ago
JSON representation
A simple server to debug webhooks
- Host: GitHub
- URL: https://github.com/thecodesmith/echo-server
- Owner: thecodesmith
- Created: 2019-07-30T22:26:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-11T19:02:52.000Z (about 6 years ago)
- Last Synced: 2025-01-31T07:32:46.200Z (over 1 year ago)
- Language: Groovy
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Echo Server
_A simple server to debug webhooks, etc._
## Usage
Run the echo server:
❯ docker run -p 8080:8080 thecodesmith/echo-server:latest
Send it some requests:
❯ curl localhost:8080/hello/world
Request: GET /hello/world
❯ curl localhost:8080/hello/world -X POST -H 'content-type: application/json' -d '{"foo":42}'
Request: POST /hello/world
Content-Type: application/json
Header: Content-Length: [10]
Header: accept: [*/*]
Header: content-type: [application/json]
Header: user-agent: [curl/7.54.0]
Body:
{
"foo": 42
}
## Deployment
This app is best deployed into some centrally-available infrastructure for
developers to use. See the `manifests` directory for Kubernetes manifest
examples. Change the `ingress.yaml` resource and deploy with:
kubectl apply -f manifests