diff --git a/README.md b/README.md index 5b9e604..b72d961 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ bash-4.4# ## Test /list endpoint In another terminal, try running: ```bash -curl -X POST http://localhost:8080/list/github.com +curl http://localhost:8080/list/github.com ``` which will respond something like: ``` diff --git a/poc/examples/nmap/nmap.pow b/poc/examples/nmap/nmap.pow index 6f2b832..6df7789 100644 --- a/poc/examples/nmap/nmap.pow +++ b/poc/examples/nmap/nmap.pow @@ -16,4 +16,4 @@ # limitations under the License. # -kroute add -X POST '/list/{ip}' -c 'nmap -sL $(request /match/ip) | response /body' +kroute add -X GET '/list/{ip}' -c 'nmap -sL $(request /match/ip) | response /body'