What is the Maximum URL size for HTTP GET in apigee?

Not applicable

I have a scenario where the URL's are built with huge set of query parameters, Is there any limit at the apigee edge other the browser size limits

What is the best practice that need to be in place for number of query params in URI?

1 4 3,480
4 REPLIES 4

Dear @nagesh ,

It depends if you are on OnPrem or Cloud. For OnPrem, It's configurable. Please see details below.

The Edge Router and Message Processor have predefined limits to the size of request/response headers and to the line size.

For the Router, which handles incoming requests from your APIs, edit the following properties in

/opt/apigee/conf/router/router.properties to change these default values:

HTTP.request.line.limit=4k
HTTP.request.header.limit=8k

You must restart the Router after changing these properties:

> /opt/apigee4/bin/apigee-service router restart

For the Message Processor, which handles outgoing requests to your backend services, edit the following properties in /opt/apigee/conf/message-processor/http.properties to change these default values:

HTTPRequest.line.limit=7k
HTTPRequest.headers.limit=25k

You must restart the Message Processor after changing these properties:

> /opt/apigee4/bin/apigee-service message-processor restart

Cheers,

Anil Sagar

Not applicable

The limit for cloud is 4096 on the URI.

{
  "fault": {
    "faultstring": "Request parse error An HTTP line is larger than 4096 bytes.",
    "detail": {
      "code": "BAD_REQUEST"
    }
  }
}

Hi David,

Could you let me know the part of the tutorial describes the limit for cloud??

Hi David,

Could you let me know the part of the tutorial describes the limit for cloud on the URi's??