Skip to content

fredr/mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mirror

A small web server that will output any requests against it

Install

$ go get github.com/fredr/mirror

Use

Start

$ mirror

Request

$ curl "http://localhost:12345/some/url" -d 'Hello World' -XPUT

Output
PUT /some/url HTTP/1.1
Host: localhost:12345
Accept: */*
Content-Type: application/x-www-form-urlencoded
User-Agent: curl/7.30.0

Hello World

About

Mirror Mirror on the Wall, Who Is the Fairest of Them All?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published