HttpPostField:
| { contents: string; name: string }
| { file: string; filename?: string; name: string; type?: string }
Type declaration
- { contents: string; name: string }
contents: string
name: string
- { file: string; filename?: string; name: string; type?: string }
file: string
Optional
filename?: string
name: string
Optional
type?: string
The
HTTPPOST
option accepts an array with this type.