modified: README.md
new file: api_delete.png new file: database_delete.png
This commit is contained in:
parent
6cd279e88c
commit
b5a88fa9b5
@ -45,8 +45,12 @@ nslookup DOMAIN DNS_SERVER
|
|||||||
# 测试API功能
|
# 测试API功能
|
||||||
```console
|
```console
|
||||||
# Linux
|
# 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/add -i
|
||||||
|
|
||||||
|
# 删除解析
|
||||||
|
curl -d "domain=qqqwwweee.xiaomian&ip=123.12.23.34" -X POST http://10.20.117.208:81/delete -i
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
Invoke-WebRequest工具一直收不到post的body,不知道问题出在哪里
|
Invoke-WebRequest工具一直收不到post的body,不知道问题出在哪里
|
||||||
|
|
||||||
|
BIN
api_delete.png
Normal file
BIN
api_delete.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 72 KiB |
BIN
database_delete.png
Normal file
BIN
database_delete.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.7 KiB |
Loading…
x
Reference in New Issue
Block a user