Properties
get
get: (url: string, jar: default, qs?: Record<string, undefined | null | string | number | boolean>) => Promise<Response<string>>
Type declaration
-
- (url: string, jar: default, qs?: Record<string, undefined | null | string | number | boolean>): Promise<Response<string>>
-
Parameters
-
url: string
-
jar: default
-
Optional qs: Record<string, undefined | null | string | number | boolean>
Returns Promise<Response<string>>
post
post: (url: string, jar: default, form: Record<string, unknown>) => Promise<Response<string>>
Type declaration
-
- (url: string, jar: default, form: Record<string, unknown>): Promise<Response<string>>
-
Parameters
-
url: string
-
jar: default
-
form: Record<string, unknown>
Returns Promise<Response<string>>
postFormData
postFormData: (url: string, jar: default, form: Record<string, unknown>, qs: Record<string, undefined | null | string | number | boolean>) => Promise<Response<string>>
Type declaration
-
- (url: string, jar: default, form: Record<string, unknown>, qs: Record<string, undefined | null | string | number | boolean>): Promise<Response<string>>
-
Parameters
-
url: string
-
jar: default
-
form: Record<string, unknown>
-
qs: Record<string, undefined | null | string | number | boolean>
Returns Promise<Response<string>>
postFormData2
postFormData2: (url: string, jar: default, formData: FormData, qs: Record<string, undefined | null | string | number | boolean>) => Promise<Response<string>>
Type declaration
-
- (url: string, jar: default, formData: FormData, qs: Record<string, undefined | null | string | number | boolean>): Promise<Response<string>>
-
Parameters
-
url: string
-
jar: default
-
formData: FormData
-
qs: Record<string, undefined | null | string | number | boolean>
Returns Promise<Response<string>>
Default functions