Skip to content
On this page

RequestUrlParam

Properties

url

ts
url: string

method

ts
method: string

contentType

ts
contentType: string

body

ts
body: string | ArrayBuffer

headers

ts
headers: Record<string, string>

throw

ts
throw: boolean

是否在状态码 >= 400 时抛出一个错误 默认值为 true