Information about a request body, as stored in a har file.

interface HarFormatPostData {
    comment?: string;
    json?: any;
    mimeType?: string;
    params?: any[];
    text?: string;
}

Properties

comment?: string

Any comment as a string. This is not used by kassette.

json?: any

Response body saved as an object.

mimeType?: string

Value of the Content-Type request header, if present.

params?: any[]

List of posted parameters. This is not implemented in kassette.

Remarks

kassette always fills the text field and never uses the params field.

text?: string

Posted data, as a (binary) string.

Generated using TypeDoc