cdp_network_body
Get the actual response body for a network request by its requestId. Use cdp_network_log first to find request IDs. Only works in CDP network mode (RN 0.83+). Bodies are fetched on-demand, not cached. Pass device to look up requestId in a specific device buffer; defaults to the active device.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
requestId | string | Yes | Request ID from cdp_network_log output | ||
maxLength | number | No | 10000 | min: 100, max: 100000, integer | Max body length to return (default 10000 chars). Truncated if longer. |
device | string | No | Device key to scope the lookup (“all” to search every device buffer). Defaults to the active device. |
cdp_network_body(requestId: <string>)