Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tjamet/go-http-echo

A simple service that logs all the requests and responds with the original request content
https://github.com/tjamet/go-http-echo

Last synced: 8 days ago
JSON representation

A simple service that logs all the requests and responds with the original request content

Awesome Lists containing this project

README

        

# go-http-echo
A simple service that logs all the requests and responds with the original request content

# run

```bash
go get -u github.com/tjamet/go-http-echo
go-http-echo
curl localhost:8080/hello -d world
```

```bash
docker run -P --rm --name http-echo tjamet/http-echo
curl $(docker port http-echo 8080)/hello -d world
```