egulu CLI reference / egulu webapps
egulu webapps test-cors
POST /v1/projects/{project}/locations/{location}/webApps/{webApp}:testCors
egulu webapps test-cors [options]
API operation
WebApps_testCors: 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 apply too.