Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 779 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 779 Bytes

getpost Build Status

getpost is a simple webserver that captures HTTP POST requests. The last request is then available via GET request (regular browser request) at http://[address]:[port]/request and http://[address]:[port]/body.

This might be useful for some debugging scenarios.

Installation

The Go way (install in GOPATH/bin):

go get github.com/sontags/getpost

Or just head over to Gobuild.oi and download the binary

Usage

ADDRESS=0.0.0.0 PORT=8765 $GOPATH/bin/getpost

The variables ADDRESS and PORT used in the example are the default, use whatever required or leave away