Skip to content

Commit cdca0d7

Browse files
committed
Extra docs and screenshot
1 parent 632bd60 commit cdca0d7

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.git
22
node_modules
3+
*.png

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
Docker image which echoes various HTTP request properties back to client, as well as in docker logs.
22

3-
Sample output:
3+
## Sample output
4+
5+
![browser](screenshot.png)![curl](screenshot2.png)
6+
7+
48

59
## Usage
610

7-
docker run -p 80:80 --rm -t mendhak/http-echo
11+
docker run -p 8080:80 -p 8443:443 --rm -t mendhak/http-https-echo
12+
13+
Then issue a request via your browser or curl -
14+
15+
curl -k -X PUT -H "Arbitrary:Header" -d aaa=bbb https://localhost:8443/hello-world
16+
817

918

1019
## In Docker Compose

screenshot.png

60.3 KB
Loading

screenshot2.png

28.6 KB
Loading

0 commit comments

Comments
 (0)