modified: README.md

new file:   api_delete.png
	new file:   database_delete.png
This commit is contained in:
Smart-SangGe 2023-06-11 16:52:54 +08:00
parent 6cd279e88c
commit b5a88fa9b5
3 changed files with 4 additions and 0 deletions

View File

@ -45,8 +45,12 @@ nslookup DOMAIN DNS_SERVER
# 测试API功能
```console
# Linux
# 添加解析
curl -d "domain=qqqwwweee.xiaomian&ip=123.12.23.34" -X POST http://10.20.117.208:81/add -i
# 删除解析
curl -d "domain=qqqwwweee.xiaomian&ip=123.12.23.34" -X POST http://10.20.117.208:81/delete -i
# Windows
Invoke-WebRequest工具一直收不到post的body不知道问题出在哪里

BIN
api_delete.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
database_delete.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB