# gRPC Web Configuration

The `grpc-web` plugin enables the gateway to handle gRPC-Web requests from browsers and JavaScript clients by translating them into standard gRPC calls and forwarding them to upstream gRPC services.<!-- --> <!-- -->Configuration covers plugin parameters.

## Parameters[​](#parameters "Direct link to Parameters")

See plugin [common configurations](https://docs.api7.ai/apisix/reference/plugin-common-configurations.md) for configuration options available to all plugins.

* cors\_allow\_headers

  string

  default: `content-type,x-grpc-web,x-user-agent`

  ***

  Comma-separated list of request headers allowed for cross-origin requests.

* max\_req\_body\_size

  integer

  default: `67108864`

  valid value:

  greater than or equal to 1

  ***

  Maximum request body size in bytes read for gRPC-Web processing. A larger body is rejected with `400 Bad Request`. Introduced in API7 Enterprise 3.9.17 and 3.10.4, and APISIX 3.18.0.
