# Body

The Body class parses the request body and provides a nice interface to get values from structured bodies (json encoded or form data)

****

- Full class name: `Kirby\Http\Request\Body`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Http/Request/Body.php#L19>

****

### Body

- [new Body()](https://getkirby.com/docs/reference/objects/http-request/body/__construct.md)
- [$body->__debugInfo()](https://getkirby.com/docs/reference/objects/http-request/body/__debug-info.md)
- [$body->__toString()](https://getkirby.com/docs/reference/objects/http-request/body/__to-string.md)
- [$body->contents()](https://getkirby.com/docs/reference/objects/http-request/body/contents.md)
- [$body->data()](https://getkirby.com/docs/reference/objects/http-request/body/data.md)
- [$body->get()](https://getkirby.com/docs/reference/objects/http-request/body/get.md)
- [$body->toArray()](https://getkirby.com/docs/reference/objects/http-request/body/to-array.md)
- [$body->toJson()](https://getkirby.com/docs/reference/objects/http-request/body/to-json.md)
- [$body->toString()](https://getkirby.com/docs/reference/objects/http-request/body/to-string.md)