Basic test cases added

alternate_response
Alexandre Dulaunoy 2016-02-17 16:05:30 +01:00
parent 03dbfb1d2b
commit ad87f947a5
3 changed files with 3 additions and 0 deletions

1
tests/body.json Normal file
View File

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

1
tests/query-dns.sh Normal file
View File

@ -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 Normal file
View File

@ -0,0 +1 @@
curl http://127.0.0.1:6666/modules