[egulu CLI reference](../index.md) / [egulu waf-policies](index.md)

# egulu waf-policies test-request

POST /v1/projects/{project}/locations/{location}/wafPolicies/{wafPolicy}:testRequest

```sh
egulu waf-policies test-request [options]
```

## API operation

[WafPolicies_testRequest](../../api/appgw/WafPolicies_testRequest.md): `POST /v1/projects/{project}/locations/{location}/wafPolicies/{wafPolicy}:testRequest` (appgw module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--client-ip` | value | no | clientIp |
| `--country` | value | no | country |
| `--location` | value | yes | location |
| `--method` | value | no | method |
| `--path` | value | no | path |
| `--project` | value | yes | project |
| `--query` | value | no | query |
| `--waf-policy` | value | yes | wafPolicy |

The [global options](../index.md) apply too.
