@serenity-is/corelib / PostToServiceOptions
Interface: PostToServiceOptions
Defined in: src/compat/services-compat.tsx:22
Options for posting data to a Serenity service endpoint via a hidden form.
Compat shim for the legacy PostToServiceOptions type.
Properties
request
request:
any
Defined in: src/compat/services-compat.tsx:30
Request payload that will be JSON-stringified into a hidden request field.
service?
optionalservice:string
Defined in: src/compat/services-compat.tsx:26
Service identifier (e.g., "Administration/User/List") resolved via resolveServiceUrl when url is not provided.
target?
optionaltarget:string
Defined in: src/compat/services-compat.tsx:28
Form target attribute (e.g., "_blank" or a frame name). When omitted the form posts in the current window.
url?
optionalurl:string
Defined in: src/compat/services-compat.tsx:24
Absolute or app-relative URL to post to. When provided, takes precedence over service. Resolved via resolveUrl.