Browse Source

Basic test cases added

alternate_response
Alexandre Dulaunoy 6 years ago
parent
commit
ad87f947a5
  1. 1
      tests/body.json
  2. 1
      tests/query-dns.sh
  3. 1
      tests/search-modules.sh

1
tests/body.json

@ -0,0 +1 @@
{"module": "dns", "hostname": "www.foo.be"}

1
tests/query-dns.sh

@ -0,0 +1 @@
curl http://127.0.0.1:6666/query -H "Content-Type: application/json" --data @body.json -X POST

1
tests/search-modules.sh

@ -0,0 +1 @@
curl http://127.0.0.1:6666/modules
Loading…
Cancel
Save