---
url: https://haihv.github.io/valifetch/api/index/type-aliases/PostOptions.md
---

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

> **PostOptions**<`TPath`, `TResponseSchema`, `TBodySchema`, `TParamsSchema`, `TSearchSchema`> = [`ValifetchOptions`](ValifetchOptions.md)<`TPath`, `TResponseSchema`, `TBodySchema`, `TParamsSchema`, `TSearchSchema`> & `object`

Defined in: [src/types/instance.ts:70](https://github.com/haihv/valifetch/blob/285835d38a6676b98d2ee1a93e23166c6c834cb2/src/types/instance.ts#L70)

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`](ResponseType.md)

Response format - defaults to 'json'
