File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed
Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,30 @@ curl -L -X POST 'http://127.0.0.1:8080/client' -H 'Content-Type: application/jso
2020```
2121
2222# swagger uri
23- - http://localhost:8080/swagger-ui/index.html#/http-client-controller/postMapping
23+ - http://localhost:8080/swagger-ui/index.html#/http-client-controller/postMapping
24+
25+ # curl calls for mirrorservice
26+ * see: https://github.com/wlanboy/MirrorService
27+ ``` bash
28+ curl -X ' POST' \
29+ ' http://localhost:8080/client' \
30+ -H ' accept: */*' \
31+ -H ' Content-Type: application/json' \
32+ -d ' {
33+ "url": "http://gmk:8003/resolve/google.com",
34+ "method": "GET",
35+ "body": "",
36+ "copyHeaders": false
37+ }'
38+
39+ curl -X ' POST' \
40+ ' http://localhost:8080/client' \
41+ -H ' accept: */*' \
42+ -H ' Content-Type: application/json' \
43+ -d ' {
44+ "url": "http://gmk:8003/mirror?request=HalloWelt&statuscode=200&wait=4",
45+ "method": "GET",
46+ "body": "",
47+ "copyHeaders": true
48+ }'
49+ ```
You can’t perform that action at this time.
0 commit comments