web-api/README.md
2023-12-16 13:05:40 +02:00

34 lines
No EOL
345 B
Markdown

# net-api
Simple Network Tools API
## Install
```
git clone https://github.com/YGGverse/net-api.git
cd net-api
composer install
```
## Run
```
cd src/public
php -S localhost:8080
```
## Usage
### Dig
#### Single record
```
dig.php?name=php.net&record=A
```
#### Multiple records
```
dig.php?name=php.net&records[]=A&records[]=AAAA
```