Options
All
  • Public
  • Public/Protected
  • All
Menu

Fully describes a POST request.

POST requests require to provide the "Content-Type" header.

Type parameters

Hierarchy

Index

Properties

Readonly body

body: (params: P) => string | FormData

Type declaration

    • (params: P): string | FormData
    • Parameters

      • params: P

      Returns string | FormData

Readonly headers

headers: RequestHeaderProducer<P, "Content-Type" | KH>

Readonly method

method: "post"

Readonly query

query: (params: P) => Record<Q, string>

Type declaration

    • (params: P): Record<Q, string>
    • Parameters

      • params: P

      Returns Record<Q, string>

Readonly response_decoder

response_decoder: ResponseDecoder<R>

Readonly url

url: (params: P) => string

Type declaration

    • (params: P): string
    • Parameters

      • params: P

      Returns string

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Property
  • Enumeration
  • Class with type parameter

Generated using TypeDoc