https://github.com/chris/http_request_logger
Little Go server to log aspects of HTTP requests sent to it.
https://github.com/chris/http_request_logger
golang http http-server
Last synced: about 1 month ago
JSON representation
Little Go server to log aspects of HTTP requests sent to it.
- Host: GitHub
- URL: https://github.com/chris/http_request_logger
- Owner: chris
- License: mit
- Created: 2016-10-28T05:22:24.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2020-10-31T23:47:38.000Z (over 5 years ago)
- Last Synced: 2023-04-11T08:40:30.376Z (almost 3 years ago)
- Topics: golang, http, http-server
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTP Request Logger
This is a simple HTTP server that logs out various info about any HTTP request
made to it. Use for debugging or whatever.
## Deploy to Heroku
You can obviously deploy to whatever you'd like, but Heroku is simple and free for this. Presuming you have a Heroku account and are logged in via the CLI tool:
```
heroku create
heroku push remote main
```
Then, once it's deployed, send any HTTP request to your Heroku endpoint, and finally view the logs:
```
heroku logs
```