Fortinet white logo
Fortinet white logo

Script Reference Guide

HTTP DATA commands

HTTP DATA commands

If the HTTP data exceeds the 1.25M buffer size limit, FortiADC will only collect up to the 1.25M limit of data and forward the excess data directly.

  • HTTP:collect(t) — Collects body data from the HTTP request or response. You may specify a specific amount using the length argument.

  • HTTP:payload(t) — Manipulates or inspects the buffered HTTP request or response body. This function is a unified interface for performing various operations on the payload data, such as retrieving its size or content, searching, modifying, replacing, or removing parts of it.

HTTP DATA commands

HTTP DATA commands

If the HTTP data exceeds the 1.25M buffer size limit, FortiADC will only collect up to the 1.25M limit of data and forward the excess data directly.

  • HTTP:collect(t) — Collects body data from the HTTP request or response. You may specify a specific amount using the length argument.

  • HTTP:payload(t) — Manipulates or inspects the buffered HTTP request or response body. This function is a unified interface for performing various operations on the payload data, such as retrieving its size or content, searching, modifying, replacing, or removing parts of it.