$body->toJson() Converts the data array to json kirby/src/Http/Request/Data.php#L68 $body->toJson(): string Return type string Parent class Kirby\Http\Request\Body