diff --git a/docs/providers/openwhisk/events/apigateway.md b/docs/providers/openwhisk/events/apigateway.md index 536d57b03..5bbbbb7d5 100644 --- a/docs/providers/openwhisk/events/apigateway.md +++ b/docs/providers/openwhisk/events/apigateway.md @@ -111,8 +111,15 @@ functions: - http: path: posts/create method: post + resp: json ``` +HTTP event configuration supports the following parameters. + +- `method` - HTTP method (mandatory). +- `path` - URI path for API gateway (mandatory). +- `resp` - controls [web action content type](https://github.com/apache/incubator-openwhisk/blob/master/docs/webactions.md#additional-features), values include: `json`, `html`, `http`, `svg`or `text` (optional, defaults to `json`). + ### CORS Support **Note:** All HTTP endpoints defined in this manner have cross-site requests