---
title: "SubmitRequest"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/submitrequest/"
---

# SubmitRequest

```ts
type SubmitRequest = SubmitRequestJs & object;
```

Defined in: [packages/sdk/src/types.ts:1509](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L1509)

What a SubmitForm action would send ([Document.submitRequest](/reference/sdk/classes/document.md#submitrequest)), built and not sent: the
`url` (with the query of a `GET`), the `host` to name to the person (the address of a `"mail"`
target, which sends no data), the `method`, the `format` (`"html"`, `"fdf"` or `"xfdf"`) and its
`contentType`, the `body`, every field in it with the value that leaves the device
(`fields`) and the required fields that are still empty (`emptyRequired`: the send is blocked
until they are filled). The body carries field values only: never the document.

## Type Declaration

### body

```ts
readonly body: Uint8Array<ArrayBuffer>;
```

## Since

0.7.0
