Skip to content

@serenity-is/corelib / PostToUrlOptions

Interface: PostToUrlOptions

Defined in: src/compat/services-compat.tsx:38

Options for posting arbitrary parameters to a URL via a hidden form. Compat shim for the legacy PostToUrlOptions type. Prefer fetch or standard form handling. Kept for legacy file-export / report post flows.

Properties

params

params: any

Defined in: src/compat/services-compat.tsx:44

Map of form field names to values; each entry becomes a hidden <input> in the posted form.


target?

optional target: string

Defined in: src/compat/services-compat.tsx:42

Form target attribute (e.g., "_blank").


url?

optional url: string

Defined in: src/compat/services-compat.tsx:40

Target URL to post to (app-relative or absolute). Resolved via resolveUrl.