File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ # Echo Service example
2+
3+ ```
4+ podman-compose up
5+ ```
6+
7+ Test the service with ` curl like this `
8+
9+ ```
10+ $ curl -X POST -d "foobar" http://localhost:8080/; echo
11+
12+ CLIENT VALUES:
13+ client_address=10.89.31.2
14+ command=POST
15+ real path=/
16+ query=nil
17+ request_version=1.1
18+ request_uri=http://localhost:8080/
19+
20+ SERVER VALUES:
21+ server_version=nginx: 1.10.0 - lua: 10001
22+
23+ HEADERS RECEIVED:
24+ accept=*/*
25+ content-length=6
26+ content-type=application/x-www-form-urlencoded
27+ host=localhost:8080
28+ user-agent=curl/7.76.1
29+ BODY:
30+ foobar
31+ ```
Original file line number Diff line number Diff line change 1+ ---
2+ version : ' 3'
3+ services :
4+ web :
5+ image : k8s.gcr.io/echoserver:1.4
6+ ports :
7+ - " ${HOST_PORT:-8080}:8080"
8+
You can’t perform that action at this time.
0 commit comments