An open API service indexing awesome lists of open source software.

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.

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
```