feat: API Handlers
This commit is contained in:
parent
b753631012
commit
f389c9c876
8 changed files with 249 additions and 71 deletions
13
www/api/api.md
Normal file
13
www/api/api.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# 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"]
|
||||
}'
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue