Skip to content

mttrs/reqtrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reqtrace

Go Report Card

Deploy

Install

$ go get github.com/mttrs/reqtrace

Build & Run

$ cd $GOPATH/src/github.com/mttrs/reqtrace
$ go build
$ ./reqtrace
Running on 8080 port

Request trace sample

$ curl -X POST -d '{"drink": "coffee"}' -H "Content-Type: application/json" http://localhost:8080?name=takoyaki

POST /?name=takoyaki HTTP/1.1
Host: localhost:8080
Accept: */*
Content-Length: 19
Content-Type: application/json
User-Agent: curl/7.54.0

{"drink": "coffee"}

About

Trace a client request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages