command
module
Version:
v0.0.0-...-81d67f3
Opens a new window with list of versions in this module.
Published: Jul 24, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
dbg
Simple docker container that listens for HTTP requests on $LISTEN and resonds with the request dump
Usage
docker build -t dbg .
docker run -d -e LISTEN=:9000 -p 9000:9000 dbg
curl -XPOST http://localhost:9000/ -H 'Some-Header: some-value' -d 'param=data'
Response example:
POST / HTTP/1.1
Host: localhost:9000
Accept: */*
Content-Length: 10
Content-Type: application/x-www-form-urlencoded
Some-Header: some-value
User-Agent: curl/7.65.1
param=data
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.