mirror

command module
v0.0.0-...-f6ac90d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 5 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL