Skip to content

Kirby 4.5.0

$body->data()

Parses the raw contents once and caches the result. The parser will try to convert the body with the json decoder first and then run parse_str to get some results if the json decoder failed.

$body->data(): array

Return type

array

Parent class

Kirby\Http\Request\Body