mirror of
https://github.com/YGGverse/web-api.git
synced 2025-08-29 15:22:04 +00:00
update readme
This commit is contained in:
parent
9e5f458bd8
commit
17f059d2cb
17
README.md
17
README.md
@ -47,20 +47,27 @@ Show host records
|
||||
|
||||
#### Usage
|
||||
|
||||
##### Attributes
|
||||
|
||||
* `name` - required host name, IPv4 or IPv6
|
||||
* `record` - required if `records` not provided
|
||||
* `records` - required if `record` not provided
|
||||
+ [x] A
|
||||
+ [x] AAAA
|
||||
+ [ ] SRV #1
|
||||
|
||||
##### Single record
|
||||
###### Records support
|
||||
|
||||
* [x] A
|
||||
* [x] AAAA
|
||||
* [ ] SRV #1
|
||||
|
||||
##### Request
|
||||
|
||||
###### Single record
|
||||
|
||||
```
|
||||
GET dig.php?name=php.net&record=A
|
||||
```
|
||||
|
||||
##### Multiple records
|
||||
###### Multiple records
|
||||
|
||||
```
|
||||
GET dig.php?name=php.net&records[]=A&records[]=AAAA
|
||||
|
Loading…
x
Reference in New Issue
Block a user