https://github.com/zztkm/echo-logging-request-body-middleware
https://github.com/zztkm/echo-logging-request-body-middleware
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zztkm/echo-logging-request-body-middleware
- Owner: zztkm
- Created: 2023-07-01T04:08:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-01T04:08:43.000Z (about 2 years ago)
- Last Synced: 2025-04-14T01:18:44.656Z (3 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Echo middleware for logging request bodies
run server
```shell
go run main.go
```example request
```shell
curl --location --request POST 'http://localhost:1323' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "zztkm",
"age": 24
}'
```