Skip to content

Type Alias: PostOptions<TPath, TResponseSchema, TBodySchema, TParamsSchema, TSearchSchema> ​

PostOptions<TPath, TResponseSchema, TBodySchema, TParamsSchema, TSearchSchema> = ValifetchOptions<TPath, TResponseSchema, TBodySchema, TParamsSchema, TSearchSchema> & object

Defined in: src/types/instance.ts:70

Options for POST-like methods (with body)

Type Parameters ​

TPath ​

TPath extends string = string

TResponseSchema ​

TResponseSchema extends GenericSchema | undefined = undefined

TBodySchema ​

TBodySchema extends GenericSchema | undefined = undefined

TParamsSchema ​

TParamsSchema extends GenericSchema | undefined = undefined

TSearchSchema ​

TSearchSchema extends GenericSchema | undefined = undefined

Type Declaration ​

responseType? ​

optional responseType?: ResponseType

Response format - defaults to 'json'

Released under the MIT License. Built with Claude Code.