[egulu CLI reference](../index.md) / [egulu webapps](index.md)

# egulu webapps test-cors

POST /v1/projects/{project}/locations/{location}/webApps/{webApp}:testCors

```sh
egulu webapps test-cors [options]
```

## API operation

[WebApps_testCors](../../api/webapps/WebApps_testCors.md): `POST /v1/projects/{project}/locations/{location}/webApps/{webApp}:testCors` (webapps module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--headers` | value | no | headers: comma-separated, or @file with one item a line |
| `--location` | value | yes | location |
| `--method` | value | no | method |
| `--origin` | value | no | origin |
| `--project` | value | yes | project |
| `--web-app` | value | yes | webApp |

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