MultipartRequestBody interface

A request body consisting of multiple parts.

Properties

boundary

The boundary separating each part of the request body. If not specified, a random boundary will be generated.

When specified, '--' will be prepended to the boundary in the request to ensure the boundary follows the specification.

parts

The parts of the request body.

Property Details

boundary

The boundary separating each part of the request body. If not specified, a random boundary will be generated.

When specified, '--' will be prepended to the boundary in the request to ensure the boundary follows the specification.

boundary?: string

Property Value

string

parts

The parts of the request body.

parts: BodyPart[]

Property Value