Skip to content

thepkg/hrd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hrd

Build Status Go Report Card Codacy Badge Maintainability

Demo: how to use HRD

HRD - HTTP Request Dump, super simple golang web application which dumps received HTTP request data back into response, which might be helpful for testing and debugging purposes.

Usage

Pull docker image:

# basic app
docker pull ghcr.io/thepkg/hrd:v1.1.4

# with ENV dump
docker pull ghcr.io/thepkg/hrd:v1.1.5

Run docker container:

# basic app
docker run -it -p 8080:8080 ghcr.io/thepkg/hrd:v1.1.6

# with ENV dump
docker run -it -p 8080:8080 -e APP_WITH_ENV=true ghcr.io/thepkg/hrd:v1.1.6

Send request:

open "http://localhost:8080?foo=bar"

curl -X POST "http://localhost:8080" -d "foo=bar"