Request Body Size Limit (2024)

End of Sale Notice:

F5 NGINX is announcing the End of Sale (EoS) for NGINX Management Suite API Connectivity Manager Module, effective January 1, 2024.

F5 maintains generous lifecycle policies that allow customers to continue support and receive product updates. Existing API Connectivity Manager Module customers can continue to use the product past the EoS date. License renewals are not available after September 30, 2024.

See our End of Sale announcement for more details.

Learn how to configure the Request Policy Size Limit policy to prevent Denial of Service (DoS) and other types of attacks.

Overview

In API Connectivity Manager, you can apply global policies to API Gateways and Developer Portals to ensure your organization’s security requirements are enforced.

When you add policies at the environment level, they will apply to all proxies hosted within that environment.

See the Learn about Policies topic for an overview of the different policy types and available policies.

About the Policy

The Request Body Size Limit policy, which by default is set to 1 MB, is applied to all API gateway proxy requests. If the request exceeds this limit, it will be blocked and an error code will be returned. You can adjust the limit to meet your requirements, or you can disable the policy completely by setting the max size to 0.

Intended Audience

This guide is meant for Infrastructure Administrators.

Infrastructure Administrators ensure uniform governance across an organization’s infrastructure by setting policies at the infrastructure level, enabling teams to build APIs without interruption while adhering to the organization’s standards.

Workflow for Applying Policy

To apply the policy or make changes to it, here’s what you need to do:

Policy Settings

FieldTypePossibleValuesDescriptionRequiredDefault
sizestringExample:
1M or 1K

Sets the maximum body size for client requests.

Megabytes, M, and Kilobytes, K, are the accepted units.

No1M
returnCodeintegerIn range:
400-599

The error code that is returned to the client when the size of a request exceeds the configured value.

The default error code is 413: Request Entity Too Large.

No413

Applying the Policy

You can apply this policy using either the web interface or the REST API.


  • API
  • UI

See Also:
You can use tools such as curl or Postman to interact with the API Connectivity Manager REST API. The API URL follows the format https://<NMS_FQDN>/api/acm/<API_VERSION> and must include authentication information with each call. For more information about authentication options, please refer to the API Overview.

To add the Request Body Size Limit policy using the REST API, send an HTTP POST request to the Environments endpoint.

MethodEndpoint
POST/infrastructure/workspaces/{workspace}/environments/{environment}
JSON request
{ "policies": { "request-body-size-limit": [ { "action": { "returnCode": 413, "size": "1M" } } ] }}

This example Request Body Size Limit policy rejects requests exceeding one megabyte and returns error code 413.


To add a Request Body Size Limit policy using the web interface:

  1. In a web browser, go to the FQDN for your F5 NGINX Management Suite host and log in. Then, from the Launchpad menu, select API Connectivity Manager.

  2. On the left menu, select Infrastructure.

  3. Choose the workspace that contains your cluster’s environment from the list of workspaces.

  4. In the Environments section, select the environment name for your cluster.

  5. In the list of clusters, locate the cluster you want to add the policy to. On the Actions menu (represented by an ellipsis, ...), select Edit Advanced Config.

  6. On the left menu, select Global Policies.

  7. Locate the Request Body Size Limit policy in the list of policies. On the Actions menu (represented by an ellipsis, ...), select Add Policy.

  8. On the Request Body Size Limit form, complete the necessary fields:

    • Error code: Specify the error code to return when a request exceeds the maximum size. The default is 413.
    • Request body size: Enter the maximum body size in megabytes or kilobytes. The default is 1 megabyte.
  9. Select Add to apply the policy to the cluster.

  10. Select Save and Submit to deploy the configuration.

Request Body Size Limit (2024)
Top Articles
UPI ATM Cash Withdrawal: Complete Guide and Key Features | Bank of Baroda
Can’t Extract ZIP Files in Windows 11? Here’s How to Fix It
Kostner Wingback Bed
Wordscapes Level 6030
Sandrail Options and Accessories
Davante Adams Wikipedia
Die Windows GDI+ (Teil 1)
Yi Asian Chinese Union
Vanadium Conan Exiles
Call of Duty: NEXT Event Intel, How to Watch, and Tune In Rewards
414-290-5379
Facebook Marketplace Charlottesville
Programmieren (kinder)leicht gemacht – mit Scratch! - fobizz
Breakroom Bw
Radio Aleluya Dialogo Pastoral
272482061
Baywatch 2017 123Movies
My.tcctrack
Gem City Surgeons Miami Valley South
Dumb Money, la recensione: Paul Dano e quel film biografico sul caso GameStop
使用 RHEL 8 时的注意事项 | Red Hat Product Documentation
Charter Spectrum Store
Craigslist Pinellas County Rentals
Www Craigslist Com Bakersfield
Kirksey's Mortuary - Birmingham - Alabama - Funeral Homes | Tribute Archive
Pocono Recird Obits
Sunset Time November 5 2022
Move Relearner Infinite Fusion
Dei Ebill
Bayard Martensen
Obituaries, 2001 | El Paso County, TXGenWeb
49S Results Coral
5 Star Rated Nail Salons Near Me
Play 1v1 LOL 66 EZ → UNBLOCKED on 66games.io
Craigs List Jonesboro Ar
Craigslist Boats Eugene Oregon
Otter Bustr
Academic important dates - University of Victoria
Spn-523318
B.C. lightkeepers' jobs in jeopardy as coast guard plans to automate 2 stations
The Attleboro Sun Chronicle Obituaries
Ds Cuts Saugus
Craigslist/Nashville
What is a lifetime maximum benefit? | healthinsurance.org
Ephesians 4 Niv
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Joy Taylor Nip Slip
Minute Clinic Mooresville Nc
Who Is Nina Yankovic? Daughter of Musician Weird Al Yankovic
Anthony Weary Obituary Erie Pa
Supervisor-Managing Your Teams Risk – 3455 questions with correct answers
Latest Posts
Article information

Author: Tuan Roob DDS

Last Updated:

Views: 6531

Rating: 4.1 / 5 (42 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Tuan Roob DDS

Birthday: 1999-11-20

Address: Suite 592 642 Pfannerstill Island, South Keila, LA 74970-3076

Phone: +9617721773649

Job: Marketing Producer

Hobby: Skydiving, Flag Football, Knitting, Running, Lego building, Hunting, Juggling

Introduction: My name is Tuan Roob DDS, I am a friendly, good, energetic, faithful, fantastic, gentle, enchanting person who loves writing and wants to share my knowledge and understanding with you.