doggo/www/api/api.md

14 lines
229 B
Markdown
Raw Permalink Normal View History

2021-02-27 09:31:59 +01:00
# Usage
```
curl --request POST \
--url http://localhost:8080/lookup/ \
--header 'Content-Type: application/json' \
--data '{
"query": ["mrkaran.dev"],
"type": ["A"],
"class": ["IN"],
"nameservers": ["9.9.9.9"]
}'
```