Skip to content

sontags/getpost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages