BasicAuth

最近更新时间:2023-05-09 17:33:19

我的收藏
BasicAuth 是参数配置 HTTP 中的 basicAuth 配置。

字段

字段
类型
描述
username
string
用户名
password
string
密码

样例

使用 BasicAuth:
export const option = {
http: {
basicAuth: {
username: 'username',
password: 'password',
}
}
}