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
See plugin common configurations for configuration options available to all plugins.
cors_allow_headers
Comma-separated list of request headers allowed for cross-origin requests.
max_req_body_size
valid value:
greater than or equal to 1Maximum 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.