HttpRequestBodyInit interface

For testing purposes only. This will always be constructed for you when run in the context of the Azure Functions runtime

Properties

bytes

The body as a buffer. You only need to specify one of the bytes or string properties

string

The body as a buffer. You only need to specify one of the bytes or string properties

Property Details

bytes

The body as a buffer. You only need to specify one of the bytes or string properties

bytes?: Uint8Array

Property Value

Uint8Array

string

The body as a buffer. You only need to specify one of the bytes or string properties

string?: string

Property Value

string